Created
August 21, 2022 12:16
-
-
Save eliasnogueira/543f7cc04d23ecf5291b9d07ee551c83 to your computer and use it in GitHub Desktop.
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 class PageObjectExample { | |
private WebDriver driver; | |
// WebElements ignored | |
public PageObjectExample(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