Polish XPath expressions in samples integration tests

This commit is contained in:
Vedran Pavic
2017-01-11 22:57:23 +01:00
parent 01e4664681
commit 93be87ed94
12 changed files with 24 additions and 24 deletions

View File

@@ -107,10 +107,10 @@ public class HomePage {
}
public static class Attribute {
@FindBy(xpath = "//td[1]")
@FindBy(xpath = ".//td[1]")
WebElement attributeName;
@FindBy(xpath = "//td[2]")
@FindBy(xpath = ".//td[2]")
WebElement attributeValue;
public Attribute(SearchContext context) {