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
-
-
Constructor Summary
Constructors Constructor Description SmartElementLocator(org.openqa.selenium.SearchContext searchContext, Field field, MobilePlatform mobilePlatform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElement
findElement()
Find the element.List<org.openqa.selenium.WebElement>
findElements()
Find the element list.
-
-
-
Constructor Detail
-
SmartElementLocator
public SmartElementLocator(org.openqa.selenium.SearchContext searchContext, Field field, MobilePlatform mobilePlatform)
-
-
Method Detail
-
findElement
public org.openqa.selenium.WebElement findElement()
Find the element.- Specified by:
findElement
in interfaceorg.openqa.selenium.support.pagefactory.ElementLocator
-
findElements
public List<org.openqa.selenium.WebElement> findElements()
Find the element list.- Specified by:
findElements
in interfaceorg.openqa.selenium.support.pagefactory.ElementLocator
-
-