Package com.intuit.karate.driver.appium
Class MobileDriverOptions
- java.lang.Object
-
- com.intuit.karate.driver.DriverOptions
-
- com.intuit.karate.driver.appium.MobileDriverOptions
-
public class MobileDriverOptions extends DriverOptions
- Author:
- babusekaran
-
-
Field Summary
-
Fields inherited from class com.intuit.karate.driver.DriverOptions
addOptions, afterStop, appender, args, attach, beforeStart, driverLogger, executable, headless, highlight, highlightDuration, host, httpConfig, KARATE_REF_GENERATOR, logger, maxPayloadSize, options, playwrightOptions, playwrightUrl, pollAttempts, pollInterval, port, processLogFile, processLogger, remoteHost, screenshotOnFailure, SCROLL_JS_FUNCTION, showBrowserLog, showDriverLog, showProcessLog, start, stop, target, timeout, type, uniqueName, useDockerHost, userAgent, userDataDir, videoFile, webDriverPath, webDriverSession, webDriverUrl, workingDir
-
-
Constructor Summary
Constructors Constructor Description MobileDriverOptions(Map<String,Object> options, ScenarioRuntime sr, int defaultPort, String defaultExecutable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static StringgetBrowserName(Map<String,Object> sessionPayload)booleanisWebSession()Elementoptional(Driver driver, String locator)ElementwaitForAny(Driver driver, String... locators)-
Methods inherited from class com.intuit.karate.driver.DriverOptions
arg, disableRetry, driverRunners, enableRetry, findAll, focusJs, getHttp, getPositionJs, getPreSubmitHash, getRelativePositionJs, getRetryCount, getRetryInterval, getTimeout, getWebDriverSessionPayload, highlight, highlightAll, isHostDockerHost, isRemoteHost, isRetryEnabled, karateLocator, newMapWithSelectedKeys, optionSelector, optionSelector, preProcessWildCard, retry, scriptAllSelector, scriptAllSelector, scriptSelector, scriptSelector, selector, selector, setPreSubmitHash, setRetryInterval, setTimeout, sleep, sleep, start, startProcess, startProcess, waitForUrl, waitUntil, wrapInFunctionInvoke
-
-
-
-
Constructor Detail
-
MobileDriverOptions
public MobileDriverOptions(Map<String,Object> options, ScenarioRuntime sr, int defaultPort, String defaultExecutable)
-
-
Method Detail
-
isWebSession
public boolean isWebSession()
-
waitForAny
public Element waitForAny(Driver driver, String... locators)
- Overrides:
waitForAnyin classDriverOptions
-
optional
public Element optional(Driver driver, String locator)
- Overrides:
optionalin classDriverOptions
-
-