public class MobileUtils extends Object
| Constructor and Description |
|---|
MobileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.WebElement |
clearText(org.openqa.selenium.By by) |
static String |
currentContent(org.openqa.selenium.By by) |
static org.openqa.selenium.support.ui.WebDriverWait |
delay() |
static org.openqa.selenium.support.ui.WebDriverWait |
delay(int seconds) |
static org.openqa.selenium.WebElement |
filterVisible(String... string)
Deprecated.
|
static org.openqa.selenium.WebElement |
find(org.openqa.selenium.By by)
Deprecated.
|
static org.openqa.selenium.WebElement |
find(org.openqa.selenium.By by,
int timeout)
Deprecated.
|
static void |
hideKeyboard() |
static void |
press(int x,
int y) |
static void |
press(org.openqa.selenium.WebElement e,
int factor) |
static void |
pressAdjusted(org.openqa.selenium.WebElement element) |
static void |
pressovator() |
static void |
pressWithoutX(org.openqa.selenium.WebElement element) |
static void |
scrollDown() |
static void |
scrollTo(org.openqa.selenium.WebElement element) |
static void |
scrollToText(String text) |
static void |
scrollUp() |
static void |
swipe(org.openqa.selenium.WebElement element,
int xoffsetPersents,
int yoffsetPersent) |
static void |
tap(int x,
int y) |
static void |
tap(org.openqa.selenium.WebElement e) |
static void |
waitForElementToDisappear(org.openqa.selenium.By by) |
static void |
waitForElementToDisappear(String by) |
static void |
waitForElementToHide(int seconds,
org.openqa.selenium.By by) |
public static void scrollDown()
public static void scrollUp()
public static void swipe(org.openqa.selenium.WebElement element,
int xoffsetPersents,
int yoffsetPersent)
public static void press(int x,
int y)
public static void scrollTo(org.openqa.selenium.WebElement element)
public static void scrollToText(String text)
public static void pressAdjusted(org.openqa.selenium.WebElement element)
public static void pressWithoutX(org.openqa.selenium.WebElement element)
public static void press(org.openqa.selenium.WebElement e,
int factor)
public static void pressovator()
public static org.openqa.selenium.support.ui.WebDriverWait delay()
public static org.openqa.selenium.support.ui.WebDriverWait delay(int seconds)
public static void waitForElementToHide(int seconds,
org.openqa.selenium.By by)
public static String currentContent(org.openqa.selenium.By by)
public static org.openqa.selenium.WebElement clearText(org.openqa.selenium.By by)
public static void waitForElementToDisappear(String by)
public static void waitForElementToDisappear(org.openqa.selenium.By by)
public static void tap(int x,
int y)
public static void tap(org.openqa.selenium.WebElement e)
public static void hideKeyboard()
@Deprecated public static org.openqa.selenium.WebElement find(org.openqa.selenium.By by)
@Deprecated public static org.openqa.selenium.WebElement find(org.openqa.selenium.By by, int timeout)
@Deprecated public static org.openqa.selenium.WebElement filterVisible(String... string)
Copyright © 2019 Automation RockStars. All rights reserved.