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 String
DRIVER_TYPE
-
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 void
activate()
Element
click(String locator)
String
elementId(String id)
protected String
getJsonForInput(String text)
static WinAppDriver
start(Map<String,Object> map, ScenarioRuntime sr)
String
text(String locator)
-
Methods inherited from class com.intuit.karate.driver.WebDriver
actions, attribute, back, clear, clearCookies, close, cookie, cookie, deleteCookie, dialog, dialog, elementIds, enabled, eval, eval, focus, forward, fullscreen, getCookies, getDecoder, getDialogText, getDimensions, getElementKey, getHttp, getJsonForFrame, getJsonForHandle, getOptions, getPages, getSessionId, getTitle, getUrl, html, input, isCookieError, isJavaScriptError, isLocatorError, 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:
getJsonForInput
in classWebDriver
-
-