public 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 java.lang.String |
rootSelector |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseBy(java.lang.String rootSelector) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
errorIfNull(java.lang.Object o) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.SearchContext context) |
java.util.List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.SearchContext context) |
protected abstract java.lang.Object |
getObject(org.openqa.selenium.SearchContext context,
org.openqa.selenium.JavascriptExecutor javascriptExecutor) |
protected final java.lang.Object errorIfNull(java.lang.Object o)
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
findElement in class org.openqa.selenium.Byprotected abstract java.lang.Object getObject(org.openqa.selenium.SearchContext context,
org.openqa.selenium.JavascriptExecutor javascriptExecutor)
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
findElements in class org.openqa.selenium.ByCopyright © 2020. All Rights Reserved.