public abstract class PageObject extends Object
Modifier and Type | Class and Description |
---|---|
class |
PageObject.FieldEntry |
static class |
PageObject.OpenWithParams |
static class |
PageObject.WaitingBuilder |
Modifier | Constructor and Description |
---|---|
protected |
PageObject() |
|
PageObject(org.openqa.selenium.WebDriver driver) |
|
PageObject(org.openqa.selenium.WebDriver driver,
EnvironmentVariables environmentVariables) |
|
PageObject(org.openqa.selenium.WebDriver driver,
int ajaxTimeout) |
protected |
PageObject(org.openqa.selenium.WebDriver driver,
com.google.common.base.Predicate<? super PageObject> callback) |
Modifier and Type | Method and Description |
---|---|
<T extends WebElementFacade> |
$(org.openqa.selenium.By bySelector) |
<T extends WebElementFacade> |
$(String xpathOrCssSelector,
Object... arguments) |
<T extends WebElementFacade> |
$(org.openqa.selenium.WebElement webElement) |
<T extends WebElementFacade> |
$(WithByLocator locator) |
<T extends WebElementFacade> |
$(WithLocator locator) |
ListOfWebElementFacades |
$$(org.openqa.selenium.By bySelector) |
ListOfWebElementFacades |
$$(String xpathOrCssSelector,
Object... arguments) |
void |
addJQuerySupport() |
void |
blurActiveElement() |
void |
callWhenPageOpensMethods()
Override this method
|
void |
clickOn(org.openqa.selenium.WebElement webElement) |
boolean |
compatibleWithUrl(String currentUrl)
Does this page object work for this URL? When matching a URL, we check
with and without trailing slashes
|
boolean |
containsAllText(String... textValues)
Check that the specified text appears somewhere in the page.
|
boolean |
containsElements(org.openqa.selenium.By bySelector) |
boolean |
containsElements(String xpathOrCssSelector,
Object... arguments) |
boolean |
containsText(String textValue) |
boolean |
containsTextInElement(org.openqa.selenium.WebElement webElement,
String textValue)
Deprecated.
use element(webElement).containsText(textValue)
|
protected boolean |
driverIsInstantiated() |
protected boolean |
driverIsJQueryCompatible() |
<T extends WebElementFacade> |
element(org.openqa.selenium.By bySelector)
Provides a fluent API for querying web elements.
|
<T extends WebElementFacade> |
element(String xpathOrCssSelector,
Object... arguments)
Provides a fluent API for querying web elements.
|
<T extends WebElementFacade> |
element(org.openqa.selenium.WebElement webElement)
Provides a fluent API for querying web elements.
|
void |
enableJQuery() |
PageObject.FieldEntry |
enter(CharSequence... keysToSend)
Clear a field and enter a value into it.
|
Object |
evaluateJavascript(String script) |
Object |
evaluateJavascript(String script,
Object... params) |
<T extends WebElementFacade> |
find(org.openqa.selenium.By selector) |
<T extends WebElementFacade> |
find(List<org.openqa.selenium.By> selectors) |
<T extends WebElementFacade> |
find(String selector) |
<T extends WebElementFacade> |
find(WithByLocator selector) |
<T extends WebElementFacade> |
find(WithLocator selector) |
ListOfWebElementFacades |
findAll(org.openqa.selenium.By bySelector) |
ListOfWebElementFacades |
findAll(String xpathOrCssSelector,
Object... arguments) |
ListOfWebElementFacades |
findAll(WithByLocator bySelector) |
ListOfWebElementFacades |
findAll(WithLocator bySelector) |
<T extends WebElementFacade> |
findBy(List<String> selectors) |
<T extends WebElementFacade> |
findBy(String xpathOrCssSelector,
Object... arguments) |
Stream<WebElementFacade> |
findEach(org.openqa.selenium.By... bySelectors)
FindEach will return a stream of WebElementFacades matching the described nested structure.
|
Stream<WebElementFacade> |
findEach(org.openqa.selenium.By bySelector) |
Stream<WebElementFacade> |
findEach(String... xpathOrCssSelectors) |
Stream<WebElementFacade> |
findEach(String xpathOrCSSSelector) |
Stream<WebElementFacade> |
findEach(WithByLocator bySelector) |
Stream<WebElementFacade> |
findEach(WithLocator bySelector) |
Optional<WebElementFacade> |
findFirst(org.openqa.selenium.By bySelector) |
Optional<WebElementFacade> |
findFirst(String xpathOrCSSSelector) |
Optional<WebElementFacade> |
findFirst(String xpathOrCssSelector,
Object... arguments) |
<T extends WebElementFacade> |
findNested(org.openqa.selenium.By... selectors) |
<T extends WebElementFacade> |
findNested(String... selectors) |
ListOfWebElementFacades |
findNestedElements(String... xpathOrCssSelectors) |
protected ThucydidesFluentAdapter |
fluent() |
org.openqa.selenium.Alert |
getAlert() |
protected SystemClock |
getClock() |
org.openqa.selenium.devtools.DevTools |
getDevTools() |
org.openqa.selenium.WebDriver |
getDriver() |
Duration |
getImplicitWaitTimeout() |
protected JavascriptExecutorFacade |
getJavascriptExecutorFacade() |
protected RenderedPageObjectView |
getRenderedView() |
String |
getSelectedLabelFrom(org.openqa.selenium.WebElement dropdown) |
Set<String> |
getSelectedOptionLabelsFrom(org.openqa.selenium.WebElement dropdown) |
Set<String> |
getSelectedOptionValuesFrom(org.openqa.selenium.WebElement dropdown) |
String |
getSelectedValueFrom(org.openqa.selenium.WebElement dropdown) |
String |
getTitle() |
Duration |
getWaitForElementTimeout()
Deprecated.
|
Duration |
getWaitForTimeout() |
boolean |
hasDevTools()
Determines if the current driver is equipped with Chrome Dev Tools
|
boolean |
hasFocus(org.openqa.selenium.WebElement webElement)
Deprecated.
Use element(webElement).hasFocus() instead
|
long |
implicitTimoutMilliseconds() |
RadioButtonGroup |
inRadioButtonGroup(String name) |
Boolean |
isElementVisible(org.openqa.selenium.By byCriteria)
Returns true if at least one matching element is found on the page and is visible.
|
protected boolean |
isRelative(String startingUrl) |
boolean |
matchesAnyUrl() |
Optional<org.openqa.selenium.devtools.DevTools> |
maybeGetDevTools() |
<T extends WebElementFacade> |
moveTo(org.openqa.selenium.By locator) |
<T extends WebElementFacade> |
moveTo(String xpathOrCssSelector,
Object... arguments) |
void |
navigateToPageNamed(String pageName) |
void |
open()
Open the webdriver browser to the base URL, determined by the DefaultUrl
annotation if present.
|
PageObject.OpenWithParams |
open(String urlTemplateName) |
void |
open(String[] parameterValues)
Open the webdriver browser using a paramaterized URL.
|
void |
open(String urlTemplateName,
String[] parameterValues) |
void |
openAt(String relativeUrl) |
void |
openPageNamed(String pageName)
Open an environment-specific page defined in the `serenity.conf` file under the `pages` section.
|
void |
openUnchecked()
Opens page without checking URL patterns.
|
void |
openUnchecked(String... parameterValues)
Opens page without checking URL patterns.
|
void |
openUnchecked(String urlTemplateName,
String[] parameterValues)
Opens page without checking URL patterns.
|
void |
openUrl(String absoluteUrl) |
void |
resetImplicitTimeout() |
void |
selectFromDropdown(org.openqa.selenium.WebElement dropdown,
String visibleLabel) |
void |
selectMultipleItemsFromDropdown(org.openqa.selenium.WebElement dropdown,
String... selectedLabels) |
void |
setCheckbox(org.openqa.selenium.WebElement field,
boolean value) |
void |
setDefaultBaseUrl(String defaultBaseUrl) |
<T extends PageObject> |
setDriver(org.openqa.selenium.WebDriver driver) |
protected void |
setDriver(org.openqa.selenium.WebDriver driver,
long timeout) |
void |
setImplicitTimeout(int duration,
TemporalUnit unit) |
void |
setPages(Pages pages) |
void |
setPageUrls(PageUrls pageUrls)
Only for testing purposes.
|
void |
setWaitForElementTimeout(long waitForTimeoutInMilliseconds) |
void |
setWaitForTimeout(long waitForTimeoutInMilliseconds) |
void |
shouldBeDisplayed()
Use the @At annotation (if present) to check that a page object is displaying the correct page.
|
void |
shouldBeVisible(org.openqa.selenium.By byCriteria) |
void |
shouldBeVisible(org.openqa.selenium.WebElement field)
Fail the test if this element is not displayed (rendered) on the screen.
|
void |
shouldContainAllText(String... textValues)
Check that all of the specified texts appears somewhere in the page.
|
void |
shouldContainText(String textValue)
Check that the specified text appears somewhere in the page.
|
void |
shouldContainTextInElement(org.openqa.selenium.WebElement webElement,
String textValue)
Deprecated.
|
void |
shouldNotBeVisible(org.openqa.selenium.By byCriteria) |
void |
shouldNotBeVisible(org.openqa.selenium.WebElement field) |
void |
shouldNotContainTextInElement(org.openqa.selenium.WebElement webElement,
String textValue)
Deprecated.
|
<T extends PageObject> |
switchToPage(Class<T> pageObjectClass)
Deprecated.
|
String |
textContentOf(org.openqa.selenium.By bySelector) |
String |
textContentOf(String xpathOrCssSelector,
Object... arguments) |
String |
textContentOf(WithByLocator locator) |
String |
textContentOf(WithLocator locator)
Return the text value of a given element
|
String |
textOf(org.openqa.selenium.By bySelector) |
String |
textOf(String xpathOrCssSelector,
Object... arguments) |
String |
textOf(WithByLocator locator) |
String |
textOf(WithLocator locator)
Return the text value of a given element
|
List<org.openqa.selenium.WebElement> |
thenReturnElementList(org.openqa.selenium.By byListCriteria) |
String |
toString() |
void |
typeInto(org.openqa.selenium.WebElement field,
String value)
Clear a field and enter a value into it.
|
String |
updateUrlWithBaseUrlIfDefined(String startingUrl) |
FileToUpload |
upload(String filename)
Upload a file via an HTML form.
|
FileToUpload |
uploadData(byte[] data) |
FileToUpload |
uploadData(String data) |
protected void |
waitABit(long timeInMilliseconds) |
<T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> expectedCondition) |
WaitForBuilder<? extends PageObject> |
waitFor(int duration) |
PageObject |
waitFor(String xpathOrCssSelector) |
<T> T |
waitFor(String message,
org.openqa.selenium.support.ui.ExpectedCondition<T> expectedCondition) |
PageObject |
waitFor(String xpathOrCssSelector,
Object firstArgument,
Object... arguments) |
WebElementFacade |
waitFor(org.openqa.selenium.WebElement webElement) |
WebElementFacade |
waitFor(WebElementFacade webElement) |
PageObject |
waitForAbsenceOf(org.openqa.selenium.By byLocator) |
PageObject |
waitForAbsenceOf(String xpathOrCssSelector,
Object... arguments) |
PageObject |
waitForAllTextToAppear(String... expectedTexts)
Waits for all of a number of text blocks to appear on the screen.
|
void |
waitForAngularRequestsToFinish() |
PageObject |
waitForAnyRenderedElementOf(org.openqa.selenium.By... expectedElements) |
PageObject |
waitForAnyTextToAppear(String... expectedText)
Waits for any of a number of text blocks to appear anywhere on the
screen.
|
PageObject |
waitForAnyTextToAppear(org.openqa.selenium.WebElement element,
String... expectedText) |
SerenityFluentWait |
waitForCondition() |
WebElementFacadeWait |
waitForElement() |
PageObject |
waitForPresenceOf(String xpathOrCssSelector,
Object... arguments) |
PageObject |
waitForRenderedElements(org.openqa.selenium.By byElementCriteria) |
PageObject |
waitForRenderedElementsToBePresent(org.openqa.selenium.By byElementCriteria) |
PageObject |
waitForRenderedElementsToDisappear(org.openqa.selenium.By byElementCriteria) |
PageObject |
waitForTextToAppear(String expectedText)
Waits for a given text to appear anywhere on the page.
|
PageObject |
waitForTextToAppear(String expectedText,
long timeout)
Waits for a given text to appear anywhere on the page.
|
PageObject |
waitForTextToAppear(org.openqa.selenium.WebElement element,
String expectedText)
Waits for a given text to appear inside the element.
|
PageObject |
waitForTextToDisappear(String expectedText) |
PageObject |
waitForTextToDisappear(String expectedText,
long timeoutInMilliseconds)
Waits for a given text to not be anywhere on the page.
|
PageObject |
waitForTextToDisappear(org.openqa.selenium.WebElement element,
String expectedText)
Waits for a given text to disappear from the element.
|
long |
waitForTimeoutInMilliseconds() |
PageObject |
waitForTitleToAppear(String expectedTitle) |
PageObject |
waitForTitleToDisappear(String expectedTitle) |
ThucydidesFluentWait<org.openqa.selenium.WebDriver> |
waitForWithRefresh() |
PageObject.WaitingBuilder |
waitingForNoLongerThan(int timeout)
Alternative to withTimeoutOf() using a DSL
|
RenderedPageObjectView |
waitingForNoLongerThan(int timeout,
TimeUnit units)
Alternative to withTimeoutOf()
|
org.openqa.selenium.support.ui.WebDriverWait |
waitOnPage() |
org.openqa.selenium.interactions.Actions |
withAction() |
<T extends PageObject> |
withDriver(org.openqa.selenium.WebDriver driver) |
static String[] |
withParameters(String... parameterValues) |
RenderedPageObjectView |
withTimeoutOf(Duration timeout) |
RenderedPageObjectView |
withTimeoutOf(int timeout,
TemporalUnit units) |
RenderedPageObjectView |
withTimeoutOf(int timeout,
TimeUnit units)
Deprecated.
TimeUnit has been replaced by TemporalUnit in Selenium. For more consistancy use a TemporalUnit parameter.
|
protected PageObject()
protected PageObject(org.openqa.selenium.WebDriver driver, com.google.common.base.Predicate<? super PageObject> callback)
public PageObject(org.openqa.selenium.WebDriver driver, int ajaxTimeout)
public PageObject(org.openqa.selenium.WebDriver driver)
public PageObject(org.openqa.selenium.WebDriver driver, EnvironmentVariables environmentVariables)
public void setImplicitTimeout(int duration, TemporalUnit unit)
public void resetImplicitTimeout()
protected void setDriver(org.openqa.selenium.WebDriver driver, long timeout)
public <T extends PageObject> T setDriver(org.openqa.selenium.WebDriver driver)
public <T extends PageObject> T withDriver(org.openqa.selenium.WebDriver driver)
public Duration getWaitForTimeout()
@Deprecated public Duration getWaitForElementTimeout()
public Duration getImplicitWaitTimeout()
public void setPages(Pages pages)
@Deprecated public <T extends PageObject> T switchToPage(Class<T> pageObjectClass)
public FileToUpload upload(String filename)
public FileToUpload uploadData(String data) throws IOException
IOException
public FileToUpload uploadData(byte[] data) throws IOException
IOException
public void setPageUrls(PageUrls pageUrls)
public void setWaitForTimeout(long waitForTimeoutInMilliseconds)
public void setWaitForElementTimeout(long waitForTimeoutInMilliseconds)
protected RenderedPageObjectView getRenderedView()
protected SystemClock getClock()
public org.openqa.selenium.WebDriver getDriver()
public boolean hasDevTools()
public Optional<org.openqa.selenium.devtools.DevTools> maybeGetDevTools()
public org.openqa.selenium.devtools.DevTools getDevTools()
public String getTitle()
public boolean matchesAnyUrl()
public final boolean compatibleWithUrl(String currentUrl)
public PageObject waitForRenderedElements(org.openqa.selenium.By byElementCriteria)
@Deprecated public RenderedPageObjectView withTimeoutOf(int timeout, TimeUnit units)
public RenderedPageObjectView withTimeoutOf(int timeout, TemporalUnit units)
public RenderedPageObjectView withTimeoutOf(Duration timeout)
public RenderedPageObjectView waitingForNoLongerThan(int timeout, TimeUnit units)
public PageObject.WaitingBuilder waitingForNoLongerThan(int timeout)
public PageObject waitFor(String xpathOrCssSelector, Object firstArgument, Object... arguments)
public PageObject waitFor(String xpathOrCssSelector)
public <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> expectedCondition)
public <T> T waitFor(String message, org.openqa.selenium.support.ui.ExpectedCondition<T> expectedCondition)
public PageObject waitForRenderedElementsToBePresent(org.openqa.selenium.By byElementCriteria)
public PageObject waitForPresenceOf(String xpathOrCssSelector, Object... arguments)
public PageObject waitForRenderedElementsToDisappear(org.openqa.selenium.By byElementCriteria)
public PageObject waitForAbsenceOf(String xpathOrCssSelector, Object... arguments)
public PageObject waitForAbsenceOf(org.openqa.selenium.By byLocator)
public PageObject waitForTextToAppear(String expectedText)
public PageObject waitForTitleToAppear(String expectedTitle)
public org.openqa.selenium.support.ui.WebDriverWait waitOnPage()
public PageObject waitForTitleToDisappear(String expectedTitle)
public PageObject waitForTextToAppear(org.openqa.selenium.WebElement element, String expectedText)
public PageObject waitForTextToDisappear(org.openqa.selenium.WebElement element, String expectedText)
public PageObject waitForTextToDisappear(String expectedText)
public PageObject waitForTextToDisappear(String expectedText, long timeoutInMilliseconds)
public PageObject waitForTextToAppear(String expectedText, long timeout)
public PageObject waitForAnyTextToAppear(String... expectedText)
public PageObject waitForAnyTextToAppear(org.openqa.selenium.WebElement element, String... expectedText)
public PageObject waitForAllTextToAppear(String... expectedTexts)
public PageObject waitForAnyRenderedElementOf(org.openqa.selenium.By... expectedElements)
protected void waitABit(long timeInMilliseconds)
public WaitForBuilder<? extends PageObject> waitFor(int duration)
public List<org.openqa.selenium.WebElement> thenReturnElementList(org.openqa.selenium.By byListCriteria)
public void shouldContainText(String textValue)
public void shouldContainAllText(String... textValues)
@Deprecated public boolean containsTextInElement(org.openqa.selenium.WebElement webElement, String textValue)
@Deprecated public void shouldContainTextInElement(org.openqa.selenium.WebElement webElement, String textValue)
@Deprecated public void shouldNotContainTextInElement(org.openqa.selenium.WebElement webElement, String textValue)
public void typeInto(org.openqa.selenium.WebElement field, String value)
public PageObject.FieldEntry enter(CharSequence... keysToSend)
public void selectFromDropdown(org.openqa.selenium.WebElement dropdown, String visibleLabel)
public void selectMultipleItemsFromDropdown(org.openqa.selenium.WebElement dropdown, String... selectedLabels)
public Set<String> getSelectedOptionLabelsFrom(org.openqa.selenium.WebElement dropdown)
public Set<String> getSelectedOptionValuesFrom(org.openqa.selenium.WebElement dropdown)
public String getSelectedValueFrom(org.openqa.selenium.WebElement dropdown)
public String getSelectedLabelFrom(org.openqa.selenium.WebElement dropdown)
public void setCheckbox(org.openqa.selenium.WebElement field, boolean value)
public boolean containsText(String textValue)
public boolean containsAllText(String... textValues)
public void shouldBeVisible(org.openqa.selenium.WebElement field)
public void shouldBeVisible(org.openqa.selenium.By byCriteria)
public void shouldNotBeVisible(org.openqa.selenium.WebElement field)
public void shouldNotBeVisible(org.openqa.selenium.By byCriteria)
public long waitForTimeoutInMilliseconds()
public long implicitTimoutMilliseconds()
protected boolean isRelative(String startingUrl)
public final void open(String[] parameterValues)
public final void openUnchecked(String... parameterValues)
public final PageObject.OpenWithParams open(String urlTemplateName)
public final void openUnchecked(String urlTemplateName, String[] parameterValues)
open(String, String[])
otherwise.public final void open()
@DefaultUrl("http://localhost:8080/client/list")
public class ClientList extends PageObject {
...
@WhenPageOpens
public void waitUntilTitleAppears() {...}
}
Suppose you are using a base URL of http://stage.acme.com. When you call open() for this class,
it will open http://stage.acme.com/client/list. It will then invoke the waitUntilTitleAppears() method.public final void openUnchecked()
open()
otherwise.public void shouldBeDisplayed()
public final void openAt(String relativeUrl)
public final void openUrl(String absoluteUrl)
public void callWhenPageOpensMethods()
public void openPageNamed(String pageName)
pageName
- public void navigateToPageNamed(String pageName)
public void clickOn(org.openqa.selenium.WebElement webElement)
public Boolean isElementVisible(org.openqa.selenium.By byCriteria)
public void setDefaultBaseUrl(String defaultBaseUrl)
public boolean hasFocus(org.openqa.selenium.WebElement webElement)
public void blurActiveElement()
protected JavascriptExecutorFacade getJavascriptExecutorFacade()
public <T extends WebElementFacade> T element(org.openqa.selenium.WebElement webElement)
public <T extends WebElementFacade> T $(WithLocator locator)
public <T extends WebElementFacade> T $(WithByLocator locator)
public <T extends WebElementFacade> T $(org.openqa.selenium.WebElement webElement)
public <T extends WebElementFacade> T $(String xpathOrCssSelector, Object... arguments)
public <T extends WebElementFacade> T $(org.openqa.selenium.By bySelector)
public String textOf(WithLocator locator)
public String textOf(WithByLocator locator)
public String textOf(org.openqa.selenium.By bySelector)
public String textContentOf(WithLocator locator)
public String textContentOf(WithByLocator locator)
public String textContentOf(org.openqa.selenium.By bySelector)
public ListOfWebElementFacades $$(String xpathOrCssSelector, Object... arguments)
public ListOfWebElementFacades $$(org.openqa.selenium.By bySelector)
public <T extends WebElementFacade> T element(org.openqa.selenium.By bySelector)
public <T extends WebElementFacade> T find(org.openqa.selenium.By selector)
public <T extends WebElementFacade> T find(WithByLocator selector)
public <T extends WebElementFacade> T find(WithLocator selector)
public <T extends WebElementFacade> T find(List<org.openqa.selenium.By> selectors)
public <T extends WebElementFacade> T findBy(List<String> selectors)
public <T extends WebElementFacade> T findNested(org.openqa.selenium.By... selectors)
public <T extends WebElementFacade> T find(String selector)
public <T extends WebElementFacade> T findNested(String... selectors)
public Optional<WebElementFacade> findFirst(String xpathOrCSSSelector)
public Optional<WebElementFacade> findFirst(org.openqa.selenium.By bySelector)
public Stream<WebElementFacade> findEach(org.openqa.selenium.By bySelector)
public Stream<WebElementFacade> findEach(WithByLocator bySelector)
public Stream<WebElementFacade> findEach(WithLocator bySelector)
public Stream<WebElementFacade> findEach(org.openqa.selenium.By... bySelectors)
bySelectors
- public Stream<WebElementFacade> findEach(String... xpathOrCssSelectors)
public ListOfWebElementFacades findNestedElements(String... xpathOrCssSelectors)
public Stream<WebElementFacade> findEach(String xpathOrCSSSelector)
public ListOfWebElementFacades findAll(org.openqa.selenium.By bySelector)
public ListOfWebElementFacades findAll(WithLocator bySelector)
public ListOfWebElementFacades findAll(WithByLocator bySelector)
public <T extends WebElementFacade> T element(String xpathOrCssSelector, Object... arguments)
public <T extends WebElementFacade> T findBy(String xpathOrCssSelector, Object... arguments)
public Optional<WebElementFacade> findFirst(String xpathOrCssSelector, Object... arguments)
public ListOfWebElementFacades findAll(String xpathOrCssSelector, Object... arguments)
public boolean containsElements(org.openqa.selenium.By bySelector)
public void addJQuerySupport()
protected boolean driverIsJQueryCompatible()
public void enableJQuery()
public RadioButtonGroup inRadioButtonGroup(String name)
protected boolean driverIsInstantiated()
public ThucydidesFluentWait<org.openqa.selenium.WebDriver> waitForWithRefresh()
public SerenityFluentWait waitForCondition()
public WebElementFacade waitFor(org.openqa.selenium.WebElement webElement)
public WebElementFacade waitFor(WebElementFacade webElement)
public WebElementFacadeWait waitForElement()
public org.openqa.selenium.Alert getAlert()
public org.openqa.selenium.interactions.Actions withAction()
protected ThucydidesFluentAdapter fluent()
public <T extends WebElementFacade> T moveTo(String xpathOrCssSelector, Object... arguments)
public <T extends WebElementFacade> T moveTo(org.openqa.selenium.By locator)
public void waitForAngularRequestsToFinish()
Copyright © 2021. All rights reserved.