-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Annotations for Scrollable elements in a11y-dom hybrid (#463)
* include backendDOMNodeId * skip ax nodeId if negative * replace role with dom tag name if none or generic * add xpath to AXNode type * revert unnecessary changed lines * revert more unnecessary changed lines * changeset * add getScrollableElementXpaths & expose it on the window * call browser-side scrollable elems fn, inject into observe output * changeset * speedup * prettier * prune before updating roles * take xpath out of AXnode type * find scrollable elems --------- Co-authored-by: Miguel <[email protected]>
- Loading branch information
1 parent
f72123d
commit e40bf6f
Showing
4 changed files
with
144 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@browserbasehq/stagehand": patch | ||
--- | ||
|
||
include 'Scrollable' annotations in a11y-dom hybrid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters