forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebDriver: Add
POST /session/{id}/element
endpoint
This allows you to query for elements in the active document! The IDs of matching elements are returned through the WebDriver interface, for now there's nothing to do with this information. This introduces a `LocalElement` to the Session, which for now only holds the ID of a real browser-side element. Once more data of elements are available to the Session, they can be stored alongside in this struct. Fixme's introduced are: - Only CSS selector location strategy is implemented for now - `get_or_create_a_web_element_reference` returns the elements ID instead of a UUID generated in a spec way.
- Loading branch information
Showing
4 changed files
with
221 additions
and
0 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
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