public class NgWebDriver extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ROOT_SELECTOR |
| Constructor and Description |
|---|
NgWebDriver(org.openqa.selenium.JavascriptExecutor driver) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluateScript(org.openqa.selenium.WebElement element,
String script) |
String |
getLocationAbsUrl() |
ByAngular.Factory |
makeByAngularFactory() |
void |
mutate(org.openqa.selenium.WebElement element,
String variable,
String value) |
Object |
retrieve(org.openqa.selenium.WebElement element,
String variable) |
Long |
retrieveAsLong(org.openqa.selenium.WebElement element,
String variable) |
String |
retrieveAsString(org.openqa.selenium.WebElement element,
String variable) |
String |
retrieveJson(org.openqa.selenium.WebElement element,
String variable) |
void |
waitForAngular2RequestsToFinish() |
void |
waitForAngularRequestsToFinish() |
NgWebDriver |
withRootSelector(String rootSelector)
Set the root selector for finding angular in the DOM
|
public static final String DEFAULT_ROOT_SELECTOR
public NgWebDriver withRootSelector(String rootSelector)
rootSelector - like "[ng-app]" (which is the default)public ByAngular.Factory makeByAngularFactory()
public String retrieveAsString(org.openqa.selenium.WebElement element, String variable)
public void waitForAngularRequestsToFinish()
public void waitForAngular2RequestsToFinish()
public String getLocationAbsUrl()
Copyright © 2017. All Rights Reserved.