Package com.paulhammant.ngwebdriver
Class ByAngular.BaseBy
- java.lang.Object
-
- org.openqa.selenium.By
-
- com.paulhammant.ngwebdriver.ByAngular.BaseBy
-
- Direct Known Subclasses:
ByAngularBinding,ByAngularButtonText,ByAngularCssContainingText,ByAngularExactBinding,ByAngularModel,ByAngularOptions,ByAngularPartialButtonText,ByAngularRepeater,ByAngularRepeaterCell,ByAngularRepeaterColumn,ByAngularRepeaterRow
- Enclosing class:
- ByAngular
public abstract static class ByAngular.BaseBy extends org.openqa.selenium.By
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class 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, org.openqa.selenium.By.Remotable
-
-
Field Summary
Fields Modifier and Type Field Description protected StringrootSelector
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ObjecterrorIfNull(Object o)org.openqa.selenium.WebElementfindElement(org.openqa.selenium.SearchContext context)List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.SearchContext context)protected org.openqa.selenium.JavascriptExecutorgetJavascriptExecutor(org.openqa.selenium.SearchContext context)protected abstract ObjectgetObject(org.openqa.selenium.SearchContext context, org.openqa.selenium.JavascriptExecutor javascriptExecutor)
-
-
-
Field Detail
-
rootSelector
protected final String rootSelector
-
-
Constructor Detail
-
BaseBy
protected BaseBy(String rootSelector)
-
-
Method Detail
-
getJavascriptExecutor
protected final org.openqa.selenium.JavascriptExecutor getJavascriptExecutor(org.openqa.selenium.SearchContext context)
- Overrides:
getJavascriptExecutorin classorg.openqa.selenium.By
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.SearchContext context)
- Overrides:
findElementin classorg.openqa.selenium.By
-
getObject
protected abstract Object getObject(org.openqa.selenium.SearchContext context, org.openqa.selenium.JavascriptExecutor javascriptExecutor)
-
findElements
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.SearchContext context)
- Specified by:
findElementsin classorg.openqa.selenium.By
-
-