forked from robotframework/SeleniumLibrary
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic implementation for piercing Shadow DOM
- Added test case for looking into the nested shadow dom - Added basic method for piercing the showdom dom. Here using the cascading locators and checking if a parent element is a shadow dom host. If so it replaces the parent element with the resulting shadow dom object. Thus the continued find then searches the shadow dom root instead of the regular dom. This is a highly simplified method for piercing and misses many important scenarios (might be a descendant but on the regular dom for example).
- Loading branch information
Showing
2 changed files
with
12 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