public class MobileUiObject extends UiObject implements HasWaits, CanSwipe, CanVerify, HasLocator
| Constructor and Description |
|---|
MobileUiObject() |
MobileUiObject(String platform,
org.openqa.selenium.By by) |
MobileUiObject(String platform,
String... filter) |
MobileUiObject(org.openqa.selenium.WebElement element,
org.openqa.selenium.By locator,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkedClick() |
void |
click() |
boolean |
exists() |
org.openqa.selenium.By |
getLocator() |
MobileUiObject |
getParent() |
org.openqa.selenium.WebElement |
getWrappedElement() |
boolean |
isDisplayed() |
boolean |
isPresent() |
void |
sendKeys(CharSequence... keys) |
void |
setFilter(String platform,
String... filterParts) |
void |
setLocator(String platform,
org.openqa.selenium.By by) |
void |
swipeDown() |
void |
swipeLeft() |
void |
swipeRight() |
void |
swipeUp() |
void |
tap() |
String |
toString() |
void |
verifyVisible() |
void |
verifyVisible(String failMessage) |
void |
verifyVisible(String failMessage,
org.openqa.selenium.By errorObject) |
void |
verifyVisible(String failMessage,
HasLocator failObject) |
void |
waitForPresent() |
void |
waitForVisible() |
afterCloseDriver, afterGetDriver, afterInstantiateDriver, beforeCloseDriver, beforeGetDriver, beforeInstantiateDriver, clear, clearAndSendKeys, clickUntil, clickUntil, findElement, findElements, getAttribute, getChildren, getCssValue, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getTimeout, isEnabled, isSelected, lowLevelClick, screenshot, sendKeysIfDifferent, sendKeysUntil, setLocator, setTimeout, setWrappedElement, submit, wrap, wrap, wrapAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetLocatorpublic MobileUiObject(String platform, org.openqa.selenium.By by)
public MobileUiObject(org.openqa.selenium.WebElement element,
org.openqa.selenium.By locator,
String name)
public MobileUiObject()
public void setLocator(String platform, org.openqa.selenium.By by)
public void waitForPresent()
waitForPresent in interface HasWaitspublic void waitForVisible()
waitForVisible in interface HasWaitspublic void click()
public void sendKeys(CharSequence... keys)
public org.openqa.selenium.WebElement getWrappedElement()
getWrappedElement in interface org.openqa.selenium.WrapsElementgetWrappedElement in class UiObjectpublic boolean isPresent()
public boolean isDisplayed()
isDisplayed in interface org.openqa.selenium.WebElementisDisplayed in class UiObjectpublic void swipeRight()
swipeRight in interface CanSwipepublic org.openqa.selenium.By getLocator()
getLocator in interface HasLocatorgetLocator in class UiObjectpublic void verifyVisible()
verifyVisible in interface CanVerifypublic void verifyVisible(String failMessage)
verifyVisible in interface CanVerifypublic void verifyVisible(String failMessage, HasLocator failObject)
verifyVisible in interface CanVerifypublic void verifyVisible(String failMessage, org.openqa.selenium.By errorObject)
verifyVisible in interface CanVerifypublic boolean exists()
public boolean checkedClick()
checkedClick in class UiObjectpublic MobileUiObject getParent()
public void tap()
Copyright © 2019 Automation RockStars. All rights reserved.