protected abstract static class ByAngular.BaseBy
extends org.openqa.selenium.By
org.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath| Modifier and Type | Field and Description |
|---|---|
protected String |
rootSelector |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseBy(String rootSelector) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
errorIfNull(Object o) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
protected abstract Object |
getObject(org.openqa.selenium.SearchContext context,
org.openqa.selenium.JavascriptExecutor javascriptExecutor) |
protected final String rootSelector
protected BaseBy(String rootSelector)
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement in class org.openqa.selenium.Byprotected abstract Object getObject(org.openqa.selenium.SearchContext context, org.openqa.selenium.JavascriptExecutor javascriptExecutor)
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements in class org.openqa.selenium.ByCopyright © 2017. All Rights Reserved.