public interface MobileElement
MobileElement
is the super interface for all user interface elements in the context of the
Automation instrument for automating user interface testing. This interface defines more general methods
that can be used on any type of user interface elements.Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
findElement(String locator)
Finds the corresponding web element using the string locator.
|
String |
getLocator()
Returns a string containing the locator used for the element
|
String |
getValue()
Returns a string containing a value attribute specific to the type of element.
|
void |
tap(Object... expected)
Taps the specified element and optionally waits for the provided expected elements.
|
org.openqa.selenium.WebElement findElement(String locator)
By
entity and fed to RemoteWebElement.findElement(By)
for further processing.locator
- A String that represents the means to locate this element (could be id/name/xpath/css locator).WebElement
found by the locator.void tap(Object... expected)
expected
- Expected entities in the form of objects extending UIAElement
, xpath location in the form of
String
, instances of ExpectedCondition
, or an instance of a WebPage
String getValue()
String getLocator()
Copyright © 2016 PayPal Open Source. All rights reserved.