public interface SeLionIOSBridgeDriver
SeLionIOSBridgeDriver acts as single level of abstraction between different mobile driver
implementations. UIAElement class depends on this abstraction to delegate calls to the respective
implementations.| Modifier and Type | Field and Description |
|---|---|
static String |
DOUBLE_TAP
Constant representing double tap
|
static String |
ONE_FINGER
Constant representing one finger
|
static String |
SINGLE_TAP
Constant representing single tap
|
static String |
TAP
Constant representing tap gesture
|
static String |
TOUCH_AND_HOLD
Constant representing touch and hold gesture
|
static String |
TWO_FINGERS
Constant representing two fingers
|
| Modifier and Type | Method and Description |
|---|---|
void |
doubleTap(org.openqa.selenium.WebElement webElement)
Double tap the
WebElement |
void |
dragSliderToValue(org.openqa.selenium.WebElement webElement,
double value)
Drags the
UIAutomationSlider to the specified value. |
org.openqa.selenium.WebElement |
findElementBy(org.openqa.selenium.By by)
Finds the
WebElement using the underlying RemoteWebDriver implementation. |
String |
getLabel(org.openqa.selenium.WebElement webElement)
Returns a string containing the label attribute of the
WebElement. |
String |
getName(org.openqa.selenium.WebElement webElement)
Returns a string containing the name attribute of the
WebElement. |
String |
getValue(org.openqa.selenium.WebElement webElement)
Returns a string containing the value attribute of the
WebElement. |
void |
scrollToVisible(org.openqa.selenium.WebElement webElement)
Scrolls until the specified
WebElement is visible in a container view. |
void |
setPickerWheelValue(org.openqa.selenium.WebElement webElement,
String value)
Sets the value of
UIAutomationPicker to the specified value. |
void |
tap(org.openqa.selenium.WebElement webElement)
Taps the specified
WebElement. |
void |
tapWithOptions(org.openqa.selenium.WebElement webElement,
EnumMap<GestureOptions,String> gestureOptions)
Performs the specified gesture on the specified
WebElement using a EnumMap to specify gesture
attributes. |
void |
twoFingerTap(org.openqa.selenium.WebElement webElement)
Performs a two-finger (two-touch) tap on the
WebElement. |
static final String ONE_FINGER
static final String TWO_FINGERS
static final String SINGLE_TAP
static final String DOUBLE_TAP
static final String TAP
static final String TOUCH_AND_HOLD
org.openqa.selenium.WebElement findElementBy(org.openqa.selenium.By by)
WebElement using the underlying RemoteWebDriver implementation.by - By instanceWebElement found for the corresponding Byvoid doubleTap(org.openqa.selenium.WebElement webElement)
WebElementwebElement - WebElement instance.void scrollToVisible(org.openqa.selenium.WebElement webElement)
WebElement is visible in a container view.webElement - WebElement instance.void tap(org.openqa.selenium.WebElement webElement)
WebElement.webElement - WebElement instance.void tapWithOptions(org.openqa.selenium.WebElement webElement,
EnumMap<GestureOptions,String> gestureOptions)
WebElement using a EnumMap to specify gesture
attributes. Refer GestureOptions for specifying gesture options.webElement - WebElement instance.gestureOptions - EnumMap specifying the gesture attributes.void twoFingerTap(org.openqa.selenium.WebElement webElement)
WebElement.webElement - WebElement instance.void dragSliderToValue(org.openqa.selenium.WebElement webElement,
double value)
UIAutomationSlider to the specified value.webElement - WebElement representing the UIAutomationSlidervalue - double value.void setPickerWheelValue(org.openqa.selenium.WebElement webElement,
String value)
UIAutomationPicker to the specified value.webElement - WebElement representing the UIAutomationPickervalue - String value.String getLabel(org.openqa.selenium.WebElement webElement)
WebElement.webElement - WebElement instance.WebElementString getName(org.openqa.selenium.WebElement webElement)
WebElement.webElement - WebElement instance.WebElementString getValue(org.openqa.selenium.WebElement webElement)
WebElement.webElement - WebElement instance.WebElementCopyright © 2016 PayPal Open Source. All rights reserved.