public abstract class AppiumDriver extends WebDriver
METHOD_NAMES| Modifier | Constructor and Description |
|---|---|
protected |
AppiumDriver(DriverOptions options) |
| Modifier and Type | Method and Description |
|---|---|
String |
attribute(String locator,
String name) |
Element |
click(String locator) |
void |
close() |
protected Base64.Decoder |
getDecoder() |
void |
hideKeyboard() |
void |
saveRecordingScreen(String fileName) |
void |
saveRecordingScreen(String fileName,
boolean embed) |
Object |
script(String expression) |
Object |
script(String expression,
List<Map<String,Object>> args) |
Object |
script(String expression,
Map<String,Object> args) |
protected String |
selectorPayload(String id) |
void |
setContext(String context) |
String |
startRecordingScreen() |
String |
startRecordingScreen(Map<String,Object> payload) |
String |
stopRecordingScreen() |
String |
stopRecordingScreen(Map<String,Object> payload) |
String |
text(String locator) |
actions, back, clear, clearCookies, cookie, cookie, deleteCookie, dialog, dialog, elementId, elementIds, enabled, eval, eval, focus, forward, fullscreen, getCookies, getDialog, getDimensions, getElementKey, getHttp, getJsonForFrame, getJsonForHandle, getJsonForInput, getOptions, getPages, getSessionId, getTitle, getUrl, html, input, isCookieError, isJavaScriptError, isLocatorError, isTerminated, maximize, minimize, position, property, quit, refresh, reload, retryIfEnabled, screenshot, screenshot, select, select, setDimensions, setUrl, submit, switchFrame, switchFrame, switchPage, switchPage, timeout, timeout, value, value, waitUntilclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabove, activate, afterScenario, below, delay, exists, highlight, highlight, highlightAll, highlightAll, input, input, input, keys, leftOf, locate, locateAll, locateAll, methodNames, mouse, mouse, mouse, near, optional, retry, retry, retry, rightOf, screenshot, screenshot, script, scriptAll, scriptAll, scroll, setContext, waitFor, waitForAny, waitForAny, waitForEnabled, waitForResultCount, waitForResultCount, waitForText, waitForUrl, waitUntil, waitUntilmethodNamesprotected AppiumDriver(DriverOptions options)
protected String selectorPayload(String id)
selectorPayload in class WebDriverpublic void setContext(String context)
public void hideKeyboard()
public String startRecordingScreen()
public String stopRecordingScreen()
public void saveRecordingScreen(String fileName, boolean embed)
public void saveRecordingScreen(String fileName)
protected Base64.Decoder getDecoder()
getDecoder in class WebDriverpublic void close()
Copyright © 2020. All rights reserved.