public class SeLionAppiumIOSDriver extends io.appium.java_client.ios.IOSDriver<org.openqa.selenium.WebElement> implements SeLionIOSBridgeDriver
SeLionAppiumIOSDriver provides facility to add custom CommandExecutor to IOSDriver. 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.WindowDOUBLE_TAP, ONE_FINGER, SINGLE_TAP, TAP, TOUCH_AND_HOLD, TWO_FINGERS| Constructor and Description |
|---|
SeLionAppiumIOSDriver(org.openqa.selenium.remote.CommandExecutor commandExecutor,
org.openqa.selenium.Capabilities caps,
URL url) |
SeLionAppiumIOSDriver(URL url,
org.openqa.selenium.Capabilities caps) |
| 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)
Deprecated.
|
void |
twoFingerTap(org.openqa.selenium.WebElement webElement)
Performs a two-finger (two-touch) tap on the
WebElement. |
findElementByIosUIAutomation, findElementsByIosUIAutomation, hideKeyboard, hideKeyboard, lockDevice, shake, swipe, switchTocloseApp, context, doSwipe, execute, findElements, findElements, findElementsByAccessibilityId, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, getAppStringMap, getAppStringMap, getAppStringMap, getContext, getContextHandles, getDeviceTime, getExecuteMethod, getOrientation, getRemoteAddress, getSessionDetails, getSettings, hideKeyboard, installApp, isAppInstalled, launchApp, location, performMultiTouchAction, performTouchAction, pinch, pinch, pullFile, pullFolder, removeApp, resetApp, rotate, runAppInBackground, setLocation, setSetting, substituteMobilePlatform, tap, tap, zoom, zoomclose, executeAsyncScript, executeScript, get, getCapabilities, getCommandExecutor, getCurrentUrl, getElementConverter, getErrorHandler, getFileDetector, getKeyboard, getPageSource, getScreenshotAs, getSessionId, getTitle, getW3CStandardComplianceLevel, getWindowHandle, getWindowHandles, log, manage, navigate, quit, setCommandExecutor, setElementConverter, setErrorHandler, setFileDetector, setFoundBy, setLogLevel, setSessionId, startClient, startSession, startSession, stopClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic SeLionAppiumIOSDriver(URL url, org.openqa.selenium.Capabilities caps)
public SeLionAppiumIOSDriver(org.openqa.selenium.remote.CommandExecutor commandExecutor,
org.openqa.selenium.Capabilities caps,
URL url)
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.@Deprecated 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.