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.Whenorg.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, setLocationclose, 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, toStringpublic 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)
SeLionIOSBridgeDriverWebElement using the underlying RemoteWebDriver implementation.findElementBy in interface SeLionIOSBridgeDriverby - By instanceWebElement found for the corresponding Bypublic void doubleTap(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElementdoubleTap in interface SeLionIOSBridgeDriverwebElement - WebElement instance.public void scrollToVisible(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElement is visible in a container view.scrollToVisible in interface SeLionIOSBridgeDriverwebElement - WebElement instance.public void tap(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElement.tap in interface SeLionIOSBridgeDriverwebElement - WebElement instance.public void tapWithOptions(org.openqa.selenium.WebElement webElement,
EnumMap<GestureOptions,String> gestureOptions)
SeLionIOSBridgeDriverWebElement using a EnumMap to specify gesture
attributes. Refer GestureOptions for specifying gesture options.tapWithOptions in interface SeLionIOSBridgeDriverwebElement - WebElement instance.gestureOptions - EnumMap specifying the gesture attributes.public void twoFingerTap(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElement.twoFingerTap in interface SeLionIOSBridgeDriverwebElement - WebElement instance.public void dragSliderToValue(org.openqa.selenium.WebElement webElement,
double value)
SeLionIOSBridgeDriverUIAutomationSlider to the specified value.dragSliderToValue in interface SeLionIOSBridgeDriverwebElement - WebElement representing the UIAutomationSlidervalue - double value.public void setPickerWheelValue(org.openqa.selenium.WebElement webElement,
String value)
SeLionIOSBridgeDriverUIAutomationPicker to the specified value.setPickerWheelValue in interface SeLionIOSBridgeDriverwebElement - WebElement representing the UIAutomationPickervalue - String value.public String getLabel(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElement.getLabel in interface SeLionIOSBridgeDriverwebElement - WebElement instance.WebElementpublic String getName(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElement.getName in interface SeLionIOSBridgeDriverwebElement - WebElement instance.WebElementpublic String getValue(org.openqa.selenium.WebElement webElement)
SeLionIOSBridgeDriverWebElement.getValue in interface SeLionIOSBridgeDriverwebElement - WebElement instance.WebElementCopyright © 2016 PayPal Open Source. All rights reserved.