Class WinAppDriver
- java.lang.Object
-
- com.intuit.karate.driver.WebDriver
-
- com.intuit.karate.driver.microsoft.WinAppDriver
-
-
Field Summary
Fields Modifier and Type Field Description static StringDRIVER_TYPE-
Fields inherited from class com.intuit.karate.driver.WebDriver
command, http, logger, open, options, specCompliant
-
Fields inherited from interface com.intuit.karate.driver.Driver
METHOD_NAMES
-
-
Constructor Summary
Constructors Constructor Description WinAppDriver(DriverOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()Elementclick(String locator)StringelementId(String id)protected StringgetJsonForInput(String text)static WinAppDriverstart(Map<String,Object> map, ScenarioRuntime sr)Stringtext(String locator)-
Methods inherited from class com.intuit.karate.driver.WebDriver
actions, attribute, back, checkForSpecCompliance, clear, clearCookies, close, cookie, cookie, deleteCookie, dialog, dialog, elementIds, enabled, eval, eval, focus, forward, fullscreen, getCookies, getDecoder, getDialogText, getDimensions, getElementKeys, getHttp, getJsonForFrame, getJsonForHandle, getJsonForLegacyInput, getOptions, getPages, getSessionId, getTitle, getUrl, html, input, isCookieError, isJavaScriptError, isLocatorError, isSpecCompliant, isTerminated, maximize, minimize, pdf, position, position, property, quit, refresh, reload, retryIfEnabled, screenshot, screenshot, script, select, select, selectorPayload, setDimensions, setUrl, submit, switchFrame, switchFrame, switchPage, switchPage, timeout, timeout, value, value, waitUntil
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.intuit.karate.driver.Driver
above, 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, waitForText, waitForUrl, waitUntil, waitUntil
-
Methods inherited from interface com.intuit.karate.core.Plugin
getRuntime
-
-
-
-
Field Detail
-
DRIVER_TYPE
public static final String DRIVER_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WinAppDriver
public WinAppDriver(DriverOptions options)
-
-
Method Detail
-
start
public static WinAppDriver start(Map<String,Object> map, ScenarioRuntime sr)
-
activate
public void activate()
-
getJsonForInput
protected String getJsonForInput(String text)
- Overrides:
getJsonForInputin classWebDriver
-
-