public class SelionRemoteIOSDriver extends org.uiautomation.ios.client.uiamodels.impl.RemoteIOSDriver implements SeLionIOSBridgeDriver
SelionRemoteIOSDriver
provides facility to add custom CommandExecutor
to RemoteIOSDriver
. This class also implements the SeLionIOSBridgeDriver
interface to expose methods for UIAElement
and
its subclasses.org.openqa.selenium.remote.RemoteWebDriver.RemoteTargetLocator, org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions, org.openqa.selenium.remote.RemoteWebDriver.When
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.JavascriptExecutor |
javascriptExecutor |
DOUBLE_TAP, ONE_FINGER, SINGLE_TAP, TAP, TOUCH_AND_HOLD, TWO_FINGERS
Constructor and Description |
---|
SelionRemoteIOSDriver(org.openqa.selenium.remote.CommandExecutor command,
org.uiautomation.ios.IOSCapabilities capability) |
SelionRemoteIOSDriver(URL url,
org.uiautomation.ios.IOSCapabilities iOSCapabilities) |
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 . |
dragFromToForDuration, dragFromToForDuration, executeScript, findElement, findElement, findElement, findElements, findElements, findElements, getCapabilities, getConfiguration, getConfiguration, getKeyboard, getNativeOrientation, getOrientation, getScreenshotAs, getScreenSize, getTouch, getWindowHandles, location, logElementTree, logElementTree, pinchCloseFromToForDuration, pinchCloseFromToForDuration, pinchOpenFromToForDuration, pinchOpenFromToForDuration, rotate, rotate, setConfiguration, setConfiguration, setLocation
close, execute, execute, executeAsyncScript, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getExecuteMethod, getFileDetector, getMouse, getPageSource, getSessionId, getTitle, getW3CStandardComplianceLevel, getWindowHandle, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setErrorHandler, setFileDetector, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, switchTo, toString
public SelionRemoteIOSDriver(URL url, org.uiautomation.ios.IOSCapabilities iOSCapabilities)
public SelionRemoteIOSDriver(org.openqa.selenium.remote.CommandExecutor command, org.uiautomation.ios.IOSCapabilities capability)
public org.openqa.selenium.WebElement findElementBy(org.openqa.selenium.By by)
SeLionIOSBridgeDriver
WebElement
using the underlying RemoteWebDriver
implementation.findElementBy
in interface SeLionIOSBridgeDriver
by
- By
instanceWebElement
found for the corresponding By
public void doubleTap(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
doubleTap
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.public void scrollToVisible(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
is visible in a container view.scrollToVisible
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.public void tap(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
.tap
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.public void tapWithOptions(org.openqa.selenium.WebElement webElement, EnumMap<GestureOptions,String> gestureOptions)
SeLionIOSBridgeDriver
WebElement
using a EnumMap
to specify gesture
attributes. Refer GestureOptions
for specifying gesture options.tapWithOptions
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.gestureOptions
- EnumMap
specifying the gesture attributes.public void twoFingerTap(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
.twoFingerTap
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.public void dragSliderToValue(org.openqa.selenium.WebElement webElement, double value)
SeLionIOSBridgeDriver
UIAutomationSlider
to the specified value.dragSliderToValue
in interface SeLionIOSBridgeDriver
webElement
- WebElement
representing the UIAutomationSlider
value
- double value.public void setPickerWheelValue(org.openqa.selenium.WebElement webElement, String value)
SeLionIOSBridgeDriver
UIAutomationPicker
to the specified value.setPickerWheelValue
in interface SeLionIOSBridgeDriver
webElement
- WebElement
representing the UIAutomationPicker
value
- String value.public String getLabel(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
.getLabel
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.WebElement
public String getName(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
.getName
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.WebElement
public String getValue(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriver
WebElement
.getValue
in interface SeLionIOSBridgeDriver
webElement
- WebElement
instance.WebElement
Copyright © 2016 PayPal Open Source. All rights reserved.