public final class AndroidHelper
Type Params | Return Type | Name and description |
---|---|---|
|
public static WebElement |
findElementContainingText(AppiumDriver driver, String text) |
|
public static WebElement |
findScrollableElement(AppiumDriver driver) |
|
public static int |
getStatusBarHeight(AppiumDriver driver) |
|
public static WebElement |
scrollToText(TestObject testObject, String text, int timeoutInSeconds) Scrolls to an element with the given text starting from the TestObject's view. |
Scrolls to an element with the given text starting from the TestObject's view.
testObject
- TestObject to locate the scrollable areatext
- Text to scroll totimeoutInSeconds
- Timeout duration