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.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
DOUBLE_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, switchTo
closeApp, 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, zoom
close, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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)
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.@Deprecated 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.