Last active
August 21, 2022 12:31
-
-
Save eliasnogueira/b637b567013028aa39215f58a1bcb6eb to your computer and use it in GitHub Desktop.
Example of an AbstractPageObject using the AjaxElementLocatorFactory
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
public abstract class AbstractPageObject { | |
private WebDriver driver; | |
protected AbstractPageObject(WebDriver driver) { | |
PageFactory.initElements(new AjaxElementLocatorFactory(driver, 5), this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment