Package org.openqa.selenium.lift.find
Class XPathFinder
- java.lang.Object
-
- org.openqa.selenium.lift.find.BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
-
- org.openqa.selenium.lift.find.XPathFinder
-
- All Implemented Interfaces:
org.hamcrest.SelfDescribing,Finder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
public class XPathFinder extends BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
AFinderfor elements using XPath expressions
-
-
Field Summary
-
Fields inherited from class org.openqa.selenium.lift.find.BaseFinder
matchers
-
-
Constructor Summary
Constructors Constructor Description XPathFinder(java.lang.String xpath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddescribeTargetTo(org.hamcrest.Description description)protected java.util.Collection<org.openqa.selenium.WebElement>extractFrom(org.openqa.selenium.WebDriver context)-
Methods inherited from class org.openqa.selenium.lift.find.BaseFinder
allMatching, describeTo, findFrom, with
-
-
-
-
Method Detail
-
extractFrom
protected java.util.Collection<org.openqa.selenium.WebElement> extractFrom(org.openqa.selenium.WebDriver context)
- Specified by:
extractFromin classBaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
-
describeTargetTo
protected void describeTargetTo(org.hamcrest.Description description)
- Specified by:
describeTargetToin classBaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
-
-