public class XPathFinder extends BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
Finder
for elements using XPath expressionsModifier and Type | Field and Description |
---|---|
private java.lang.String |
xpath |
matchers
Constructor and Description |
---|
XPathFinder(java.lang.String xpath) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeTargetTo(org.hamcrest.Description description) |
protected java.util.Collection<org.openqa.selenium.WebElement> |
extractFrom(org.openqa.selenium.WebDriver context) |
allMatching, describeTo, findFrom, with
protected java.util.Collection<org.openqa.selenium.WebElement> extractFrom(org.openqa.selenium.WebDriver context)
extractFrom
in class BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
protected void describeTargetTo(org.hamcrest.Description description)
describeTargetTo
in class BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>