Commit Graph

433 Commits

Author SHA1 Message Date
Magnus Müller
eb003f7a2f Wait for page in extract_structured_data 2025-08-10 10:33:41 -07:00
Magnus Müller
af8acb0659 Remove url blank from extract_structured_data 2025-08-10 10:25:26 -07:00
Magnus Müller
38d68361d1 Refactor content extraction process in Controller class. Simplified HTML to markdown conversion using markdownify, improved error handling, and streamlined memory management for extracted content. Removed obsolete methods related to HTML cleaning and content validation. 2025-08-09 18:53:15 -07:00
Magnus Müller
c6e71121c1 Auto enter 2025-08-09 18:47:05 -07:00
Magnus Müller
70115c44c0 Refactor HTML extraction and content processing in Controller class. Introduced methods for cleaning HTML, validating content relevance, and intelligently truncating long content. Enhanced markdown conversion and improved error handling for content extraction failures. 2025-08-09 18:35:37 -07:00
Gregor Žunič
13b29b1886 fixed extract structured output nodeId to backendNodeId 2025-08-09 11:10:25 -07:00
Nick Sweeting
a389927f75 fix initial tab detection and structure data extraction 2025-08-09 04:23:29 -07:00
Nick Sweeting
31fb754473 finish connecting feature flags 2025-08-08 20:23:18 -07:00
Nick Sweeting
557067b8e9 remove expect_download param from click action 2025-08-08 17:42:46 -07:00
Nick Sweeting
3bb8fb0fee improve focus tracking 2025-08-08 07:15:04 -07:00
Nick Sweeting
5c551272cb fix screenshots 2025-08-08 05:14:01 -07:00
Nick Sweeting
db4c4e9b49 fix duplicate typed keystrokes 2025-08-08 04:13:44 -07:00
Nick Sweeting
734e58a1fc hotload page immediately based on url found in task 2025-08-08 03:16:55 -07:00
Nick Sweeting
4826041154 new cdp_session singleton for current page 2025-08-07 21:48:57 -07:00
Nick Sweeting
d2268acf0d fixes for markdownify html and crash detection 2025-08-07 19:37:36 -07:00
Nick Sweeting
0e41a1177b fix imports 2025-08-07 19:29:06 -07:00
Nick Sweeting
3f5e4345e5 fix openai imports again 2025-08-07 18:59:06 -07:00
Nick Sweeting
d20033f26c fix markdownify in iframes 2025-08-07 18:55:55 -07:00
Nick Sweeting
df67d35ae8 merged main 2025-08-07 18:51:38 -07:00
Nick Sweeting
a8817ff65f click is working again 2025-08-07 14:43:58 -07:00
Nick Sweeting
058b20d7e7 fix click return values 2025-08-07 14:32:55 -07:00
Nick Sweeting
dc80ea32f0 working nav and screenshots and highlighting 2025-08-06 21:04:09 -07:00
Nick Sweeting
fe113d7094 rebuild manually 2025-08-06 21:01:03 -07:00
Nick Sweeting
3b685e54d8 cdp session caching updates 2025-08-06 20:52:12 -07:00
Nick Sweeting
50be4c3a94 working events for launch and nav 2025-08-06 19:47:54 -07:00
Nick Sweeting
93d6fe209b working events for launch and navigate 2025-08-06 19:47:34 -07:00
Nick Sweeting
daa430435d working cli 2025-08-06 06:23:45 -07:00
Nick Sweeting
e8bd1bf3fd cleanup cdp_client access patterns using property on session 2025-08-06 04:52:19 -07:00
Nick Sweeting
936f7d7d35 more playwright tearout 2025-08-06 04:06:34 -07:00
Nick Sweeting
13ce936128 add session.py cdp helpers 2025-08-05 18:30:53 -07:00
Nick Sweeting
46dd9bd584 wip 2025-08-05 17:45:48 -07:00
Nick Sweeting
14c7d47fd9 make Click action more flexible to take over node and idx-based clicking 2025-08-05 05:14:12 -07:00
Nick Sweeting
328a4b5be4 Merge branch 'feature/new-dom-extraction-layer' into local-remote-split 2025-08-05 03:12:48 -07:00
Gregor Žunič
0aa3d54233 Merge commit '9b882faa10c54be5a870cc5d8abd6ddb19d0682f' into feature/new-dom-extraction-layer 2025-08-02 11:41:28 -07:00
Nick Sweeting
cdf941b0e8 lint and test fixes 2025-08-01 03:26:25 -07:00
Nick Sweeting
659c5145f6 more event-driven refactoring 2025-08-01 02:42:01 -07:00
Nick Sweeting
ebc3a3846f wip cleanup flow] 2025-07-31 22:10:25 -07:00
Nick Sweeting
f236127e59 Merge branch 'main' into claude-issue-2471-20250718-0729 2025-07-23 00:50:15 -07:00
Mert Unsal
a5bc83f766 Revert "add init to make things library" 2025-07-20 23:57:53 +02:00
mertunsall
f901a6931f add init to make things library 2025-07-20 23:55:25 +02:00
Magnus Müller
7a619c3612 Refactor wait time logging in Controller to simplify message formatting 2025-07-20 16:34:27 +02:00
Magnus Müller
af04b713d5 Fix lint errors 2025-07-20 16:14:42 +02:00
Magnus Müller
0e64c846ae Refactor wait action to adjust for initial wait time and simplify ActionResult return
- Updated the wait action to account for the initial 3 seconds already waited, ensuring accurate logging of total wait time.
- Simplified the ActionResult return by removing unnecessary parameters.
2025-07-19 19:50:13 +02:00
Nick Sweeting
d93d1b1152 Merge branch 'main' into claude-issue-2471-20250718-0729 2025-07-18 15:16:22 -07:00
Magnus Müller
e6df7081be Dont use selector_map inside the controller - use get_dom_element_by_index 2025-07-18 13:08:43 +02:00
Magnus Müller
74f2be9f1e Simplify element exist checks in click and input_text 2025-07-18 13:06:07 +02:00
Magnus Müller
f9511deb4b If click fails just raise error, because in the next step we will get the new state again 2025-07-18 13:04:56 +02:00
Magnus Müller
225e5532de Refactor scrolling logic in service.py to improve error handling and streamline element-specific scrolling. Removed commented-out code for accessibility tree retrieval and enhanced logging for debugging scroll attempts. 2025-07-18 13:04:06 +02:00
Magnus Müller
6f117bcbdc dont refresh page if index is not there 2025-07-18 12:57:00 +02:00
claude[bot]
a72da41509 feat: Add ARIA menu support to dropdown functions
- Extended get_dropdown_options to detect and handle ARIA menus with role=menu
- Extended select_dropdown_option to click on ARIA menu items
- Added support for role=menu, role=listbox, and role=combobox elements
- Added tests for ARIA menu functionality
- Maintains backward compatibility with native select elements

Fixes #2471

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-07-18 07:40:21 +00:00