net.thucydides.core.annotations.locators
Class SmartElementLocator
java.lang.Object
net.thucydides.core.annotations.locators.SmartElementLocator
- All Implemented Interfaces:
- org.openqa.selenium.support.pagefactory.ElementLocator
- Direct Known Subclasses:
- SmartAjaxElementLocator
public class SmartElementLocator
- extends Object
- implements org.openqa.selenium.support.pagefactory.ElementLocator
|
Method Summary |
org.openqa.selenium.WebElement |
findElement()
Find the element. |
List<org.openqa.selenium.WebElement> |
findElements()
Find the element list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartElementLocator
public SmartElementLocator(org.openqa.selenium.SearchContext searchContext,
Field field)
findElement
public org.openqa.selenium.WebElement findElement()
- Find the element.
- Specified by:
findElement in interface org.openqa.selenium.support.pagefactory.ElementLocator
findElements
public List<org.openqa.selenium.WebElement> findElements()
- Find the element list.
- Specified by:
findElements in interface org.openqa.selenium.support.pagefactory.ElementLocator
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.