org.openqa.selenium.lift.find
Class XPathFinder

java.lang.Object
  extended by org.openqa.selenium.lift.find.BaseFinder<WebElement,WebDriver>
      extended by org.openqa.selenium.lift.find.XPathFinder
All Implemented Interfaces:
org.hamcrest.SelfDescribing, Finder<WebElement,WebDriver>

public class XPathFinder
extends BaseFinder<WebElement,WebDriver>

A Finder for elements using XPath expressions

Version:
$Revision: 1.1 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.openqa.selenium.lift.find.BaseFinder
matchers
 
Constructor Summary
XPathFinder(String xpath)
           
 
Method Summary
protected  void describeTargetTo(org.hamcrest.Description description)
           
protected  Collection<WebElement> extractFrom(WebDriver context)
           
 
Methods inherited from class org.openqa.selenium.lift.find.BaseFinder
allMatching, describeTo, findFrom, with
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathFinder

public XPathFinder(String xpath)
Method Detail

extractFrom

protected Collection<WebElement> extractFrom(WebDriver context)
Specified by:
extractFrom in class BaseFinder<WebElement,WebDriver>

describeTargetTo

protected void describeTargetTo(org.hamcrest.Description description)
Specified by:
describeTargetTo in class BaseFinder<WebElement,WebDriver>


Copyright © 2011. All Rights Reserved.