public class BrowserBasedElementLocator extends Object implements org.openqa.selenium.support.pagefactory.ElementLocator
Browser
bject to get the driver at runtime and get the element.Constructor and Description |
---|
BrowserBasedElementLocator(ILocatorFile locatorFile,
Browser browser,
Field field) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
findElement()
Find the element.
|
List<org.openqa.selenium.WebElement> |
findElements()
Find the element list.
|
public BrowserBasedElementLocator(ILocatorFile locatorFile, Browser browser, Field field)
public org.openqa.selenium.WebElement findElement()
findElement
in interface org.openqa.selenium.support.pagefactory.ElementLocator
public List<org.openqa.selenium.WebElement> findElements()
findElements
in interface org.openqa.selenium.support.pagefactory.ElementLocator
Copyright © 2014. All rights reserved.