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 java.lang.Object
implements org.openqa.selenium.support.pagefactory.ElementLocator
-
Constructor Summary
Constructors Constructor Description SmartElementLocator(org.openqa.selenium.SearchContext searchContext, java.lang.reflect.Field field, MobilePlatform mobilePlatform)
-
Method Summary
Modifier and Type Method Description org.openqa.selenium.WebElement
findElement()
Find the element.java.util.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
-
Constructor Details
-
SmartElementLocator
public SmartElementLocator(org.openqa.selenium.SearchContext searchContext, java.lang.reflect.Field field, MobilePlatform mobilePlatform)
-
-
Method Details
-
findElement
public org.openqa.selenium.WebElement findElement()Find the element.- Specified by:
findElement
in interfaceorg.openqa.selenium.support.pagefactory.ElementLocator
-
findElements
public java.util.List<org.openqa.selenium.WebElement> findElements()Find the element list.- Specified by:
findElements
in interfaceorg.openqa.selenium.support.pagefactory.ElementLocator
-