public class MobileElement<T> extends UiElement
log, properties| Constructor and Description |
|---|
MobileElement(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
T |
click()
Simulate tap/click action
|
boolean |
clickIfExists(int waitingTimeout)
Click/tap the element if exists.
|
String |
getAttributeValue(String attribute)
Get element attribute value
|
String |
getTextContent()
Get innerText of the element
|
T |
scrollTo()
Scroll to element (at the center of the screen)
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic MobileElement(UiDriver uiDriver, UiElementProperties properties)
public String getAttributeValue(String attribute)
public String getTextContent()
public T click()
public boolean clickIfExists(int waitingTimeout)
waitingTimeout - timeout in milliseconds to wait for the element to appearpublic T scrollTo()
Copyright © 2017 Axway Software. All rights reserved.