Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.16 KB

Shadow DOM Webdriver

Master CI Maven Central License

What is it?

It's simple WebDriver wrapper, based on sukgu's Shadow Selenium Automation project.

Shadow WebDriver can be used as a normal WebDriver. Supports Shadow and regular DOMs. It doesn't need @FindElementBy annotations in Page Objects. With that wrapper you can use @FindBy.


Installation

Add dependency to your POM.xml:

<dependency>
  <groupId>io.github.d4vos</groupId>
  <artifactId>shadow-webdriver</artifactId>
  <version>0.1.1</version>
</dependency>

How use it?

Initialize WebDriver as usual:

WebDriver driver = new ChromeDriver(); // EdgeDriver(), GeckoDriver() etc.

and then just wrap it..

driver = new ShadowDriver(driver);

Enjoy 😄