Created
October 14, 2014 08:49
-
-
Save artkoshelev/4751a4f1b34211e43f4e 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
@Name("Search form") | |
@Block(@FindBy(xpath = "//form[@class='f1']")) | |
public class SearchArrow extends Test1 { | |
public WebDriver driver; | |
} | |
public class SearchPage { | |
@FindBy(xpath = "//form[@class='f1']") | |
private SearchArrow searchArrow; | |
public SearchPage(WebDriver driver) { | |
HtmlElementLoader.populatePageObject(this, driver); | |
searchArrow.driver = driver; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment