Releases: sukgu/shadow-automation-selenium
Added Sibling methods bug fixed.
Bug fixed !
Bug fixes
Feature added and Bug fixed
- Fixed bugs and one issue. Good first issue
- Added methods to getParent and childElements
Fixed issues and added more methods.
- Fixed isVisible method.
- Added two more methods
- WebElement getParentElement(WebElement element)
- List getChildElements(WebElement parent)
Fixed bugs and added some important public methods
Modified javascript engine to identify shadow elements.
Added some methods for
- Checkbox
- Dropdown
- Radio
and some more helper methods like
- isVisible
- isDisabled
- isChecked
- getAttribute
for shadow elements .
These methods will provide more flexibility in writing testcases now.
Implemented 4 level of css selector
- Fixed method not found error.
- Implemented 4 levels of CSS selector.
Made this project useful for shadow elements and custom html tags.
Shadow DOM automation
Production release.
Shadow DOM automation
##Problem Statement:
You have already developed your web-based automation framework in java selenium. Your frontend application uses Polymer that uses shadow dom. Selenium doesn't provide any way to deal with shadow-dom elements.
##Solution:
You can use this plugin by adding jar file or by including maven dependency in your java selenium project.
#How it works:
##Methods:
WebElement findElement(String cssSelector) : use this method if want single element from DOM
List findElements(String cssSelector) : use this if you want to find all elements from DOM
##How to use this plugin:
You will have to add maven dependency in your pom file.