Commit Graph

504 Commits

Author SHA1 Message Date
Nick Sweeting ef64704cd7 always re-focus and resume runtime if paused 2025-08-14 19:55:43 -07:00
Nick Sweeting 9341269f86 enable cross-origin-iframes 2025-08-14 19:34:07 -07:00
Nick Sweeting c5d33b4537 add timeouts around occasionally slow getLayoutMetrics and always focus before getting layout 2025-08-14 18:38:42 -07:00
Nick Sweeting a1f1330aa6 linter fixes 2025-08-14 14:32:32 -07:00
Nick Sweeting b3546b0cf5 fix iframe scroll detection and viewport element inclusion tests after scroll 2025-08-14 05:02:57 -07:00
Magnus Müller fad718b364 Remove ax_name 2025-08-12 23:07:28 -07:00
Magnus Müller e15a8a216e hot-fix/scroll 2025-08-12 23:03:09 -07:00
Magnus Müller 7a529d7e45 Merge branch 'local-remote-split-checkbox' into local-remote-split 2025-08-12 17:59:02 -07:00
Gregor Žunič 3763275e1c fixed nested iframe scroll bounds 2025-08-12 17:30:10 -07:00
Magnus Müller 403803d48d Added ax attributes like checked 2025-08-12 17:27:06 -07:00
Magnus Müller c88599a749 Merge commit 'd8f147fac486f26cf951a88d8b0b8f6d2a31fb02' into local-remote-split-early-error 2025-08-12 15:11:55 -07:00
Magnus Müller 15325a6050 Add link to playground 2025-08-12 13:23:23 -07:00
Mert Unsal 3211ae4ab8 Mert/reduce extracted elems (#2659)
<!-- This is an auto-generated description by cubic. -->

## Summary by cubic
Reduced the number of extracted interactive elements by filtering out
child nodes fully contained within certain parent element bounds,
improving accuracy and reducing noise in the serialized DOM output.

- **Refactors**
- Updated clickable element detection to exclude most SVG elements
unless they have explicit interactive attributes.
- Added bounding box filtering logic to skip redundant child elements
inside propagating parents like buttons and links.
- Marked excluded nodes in the tree for easier debugging and
serialization.

<!-- End of auto-generated description by cubic. -->
2025-08-12 20:34:18 +01:00
Magnus Müller d8f147fac4 Merge remote-tracking branch 'origin/local-remote-split' into local-remote-split-scroll-info 2025-08-12 12:32:45 -07:00
Magnus Müller d086e77ecb Scroll info works 2025-08-12 12:27:21 -07:00
Gregor Žunič a29d4ac8bd reverted multi-act back to branch_path_hashes 2025-08-12 12:04:23 -07:00
mertunsall cd71662ab8 some optimizations to extraction 2025-08-12 19:39:09 +01:00
Magnus Müller cb4d206a48 Update empty DOM tree message to indicate potential loading delay 2025-08-10 18:03:28 -07:00
Magnus Müller 95cfdd5897 Merge commit '3aa7c18faea15c3ab4a836fc9c37deb5c0045275' into local-remote-split-type-fix-auto-enter 2025-08-10 16:05:24 -07:00
Gregor Žunič 3aa7c18fae fixed dom PageInfo calculation 2025-08-10 15:59:12 -07:00
Magnus Müller 88896c05b7 Include more info in state 2025-08-10 14:51:26 -07:00
Magnus Müller e0571b648d Check is visible 2025-08-10 14:50:18 -07:00
Magnus Müller c6e71121c1 Auto enter 2025-08-09 18:47:05 -07:00
Magnus Müller 9dc4f07233 Increase tag text from 25 to 100 2025-08-09 17:46:36 -07:00
Nick Sweeting 66b21d634d clean up logging setup and tests 2025-08-09 03:41:34 -07:00
Nick Sweeting 645742fb17 fix cdp logging 2025-08-09 03:36:36 -07:00
Nick Sweeting 3bb8fb0fee improve focus tracking 2025-08-08 07:15:04 -07:00
Nick Sweeting db4c4e9b49 fix duplicate typed keystrokes 2025-08-08 04:13:44 -07:00
Nick Sweeting e7fb8aa376 try js click before quads click 2025-08-08 03:37:04 -07:00
Nick Sweeting 4826041154 new cdp_session singleton for current page 2025-08-07 21:48:57 -07:00
Nick Sweeting e9ba422d66 remove CDP caching entirely because it was misguided 2025-08-07 18:35:10 -07:00
Nick Sweeting 021aeab87d fix init script setup 2025-08-07 18:19:53 -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 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 eedf0e7aa8 fix cross-origin iframe handling 2025-08-06 17:02:18 -07:00
Nick Sweeting 0088b3e016 remove unneeded BuildDOMTreeEvent in favor of BrowserStateRequestEvent and private helper 2025-08-06 14:50:39 -07:00
Nick Sweeting 8d5434392f fix missing page domain enable 2025-08-06 13:56:03 -07:00
Nick Sweeting 3e71e74bc7 add cdp_client_for_target and cdp_client_for_frame helpers 2025-08-06 13:53:37 -07:00
Nick Sweeting e6e060d7b1 fix in 2025-08-06 06:38:22 -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
Gregor Žunič 0830f06de6 removed false positives: if element has 0 height and width, it can't be clicakble 2025-08-02 15:20:55 -07:00
Gregor Žunič cd0938bbdc fixed unsafe css selector problems 2025-08-02 15:12:19 -07:00
Gregor Žunič 7aeb0eb9e8 fixed dom service cache 2025-08-02 12:01:59 -07:00
Gregor Žunič 0aa3d54233 Merge commit '9b882faa10c54be5a870cc5d8abd6ddb19d0682f' into feature/new-dom-extraction-layer 2025-08-02 11:41:28 -07:00