Package org.fluentlenium.core.inject
Class ElementLocatorSearchContext
- java.lang.Object
-
- org.fluentlenium.core.inject.ElementLocatorSearchContext
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext
public class ElementLocatorSearchContext extends java.lang.Object implements org.openqa.selenium.SearchContextSearch context backed by an ElementLocator.
-
-
Constructor Summary
Constructors Constructor Description ElementLocatorSearchContext(org.openqa.selenium.support.pagefactory.ElementLocator locator)Creates a new element locator search context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElementfindElement(org.openqa.selenium.By by)java.util.List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.By by)
-
-
-
Method Detail
-
findElements
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
- Specified by:
findElementsin interfaceorg.openqa.selenium.SearchContext
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
- Specified by:
findElementin interfaceorg.openqa.selenium.SearchContext
-
-