Skip to content

Instantly share code, notes, and snippets.

@artsok
Last active October 13, 2019 08:09
Show Gist options
  • Save artsok/63392bc21bb6165018f5dd0998a2a989 to your computer and use it in GitHub Desktop.
Save artsok/63392bc21bb6165018f5dd0998a2a989 to your computer and use it in GitHub Desktop.
Boilerplate code
public class UserPage {
@FindBy(xpath = "//div[text()='Телефон']/input")
private TextInput innerPhone;
@FindBy(xpath = "//div[text()='Email']/input")
private TextInput email;
@FindBy(xpath = "//button[text()='Сохранить']")
private Button save;
@FindBy(xpath = "//button[text()='Список']")
private Button usersList;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment