public class XPathFinder extends BaseFinder<org.openqa.selenium.WebElement,org.openqa.selenium.WebDriver>
Finder
for elements using XPath expressionsmatchers
Constructor and Description |
---|
XPathFinder(String xpath) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeTargetTo(org.hamcrest.Description description) |
protected Collection<org.openqa.selenium.WebElement> |
extractFrom(org.openqa.selenium.WebDriver context) |
allMatching, describeTo, findFrom, with
public XPathFinder(String xpath)
protected 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>
Copyright © 2015. All rights reserved.