Package com.intuit.karate.driver.appium
Class AppiumDriver
java.lang.Object
com.intuit.karate.driver.WebDriver
com.intuit.karate.driver.appium.AppiumDriver
- Direct Known Subclasses:
AndroidDriver,IosDriver
- Author:
- babusekaran
-
Field Summary
Fields inherited from class com.intuit.karate.driver.WebDriver
command, http, logger, open, options, specCompliantFields inherited from interface com.intuit.karate.driver.Driver
METHOD_NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected Base64.Decodervoidprotected <T> TretryIfEnabled(String locator, Supplier<T> action) voidsaveRecordingScreen(String fileName) voidsaveRecordingScreen(String fileName, boolean embed) protected StringvoidsetContext(String context) startRecordingScreen(Map<String, Object> payload) stopRecordingScreen(Map<String, Object> payload) waitForText(String locator, String expected) Methods inherited from class com.intuit.karate.driver.WebDriver
actions, back, checkForSpecCompliance, clearCookies, cookie, cookie, deleteCookie, dialog, dialog, elementId, elementIds, enabled, eval, eval, focus, forward, fullscreen, getCookies, getDialogText, getDimensions, getElementKeys, getHttp, getJsonForFrame, getJsonForHandle, getJsonForInput, getJsonForLegacyInput, getPages, getSessionId, getTitle, getUrl, html, input, isCookieError, isJavaScriptError, isLocatorError, isSpecCompliant, isTerminated, maximize, minimize, pdf, position, position, property, quit, refresh, reload, screenshot, screenshot, select, select, setDimensions, setUrl, submit, switchFrame, switchFrame, switchPage, switchPage, timeout, timeout, value, value, waitUntilMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.intuit.karate.driver.Driver
above, activate, afterScenario, below, delay, exists, highlight, highlight, highlightAll, highlightAll, input, input, input, keys, leftOf, locate, locateAll, locateAll, methodNames, mouse, mouse, mouse, near, onFailure, optional, retry, retry, retry, rightOf, screenshot, screenshot, script, scriptAll, scriptAll, scroll, setCookies, waitFor, waitForAny, waitForAny, waitForEnabled, waitForResultCount, waitForResultCount, waitForUrl, waitUntil, waitUntilMethods inherited from interface com.intuit.karate.core.Plugin
getRuntime
-
Constructor Details
-
AppiumDriver
-
-
Method Details
-
attribute
-
selectorPayload
- Overrides:
selectorPayloadin classWebDriver
-
click
-
setContext
-
hideKeyboard
public void hideKeyboard() -
startRecordingScreen
-
startRecordingScreen
-
stopRecordingScreen
-
stopRecordingScreen
-
saveRecordingScreen
-
saveRecordingScreen
-
text
-
getDecoder
- Overrides:
getDecoderin classWebDriver
-
close
public void close() -
script
-
script
-
script
-
retryIfEnabled
- Overrides:
retryIfEnabledin classWebDriver
-
getOptions
- Specified by:
getOptionsin interfaceDriver- Overrides:
getOptionsin classWebDriver
-
waitForText
-
clear
-