Package com.intuit.karate.driver.chrome
Class ChromeWebDriver
- java.lang.Object
-
- com.intuit.karate.driver.WebDriver
-
- com.intuit.karate.driver.chrome.ChromeWebDriver
-
-
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 ChromeWebDriver(DriverOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()protected booleanisCookieError(Response res)protected booleanisJavaScriptError(Response res)protected booleanisLocatorError(Response res)static ChromeWebDriverstart(Map<String,Object> map, ScenarioRuntime sr)-
Methods inherited from class com.intuit.karate.driver.WebDriver
actions, attribute, back, checkForSpecCompliance, clear, clearCookies, click, close, cookie, cookie, deleteCookie, dialog, dialog, elementId, elementIds, enabled, eval, eval, focus, forward, fullscreen, getCookies, getDecoder, getDialogText, getDimensions, getElementKeys, getHttp, getJsonForFrame, getJsonForHandle, getJsonForInput, getJsonForLegacyInput, getOptions, getPages, getSessionId, getTitle, getUrl, html, input, 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, text, 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
-
ChromeWebDriver
public ChromeWebDriver(DriverOptions options)
-
-
Method Detail
-
start
public static ChromeWebDriver start(Map<String,Object> map, ScenarioRuntime sr)
-
activate
public void activate()
-
isJavaScriptError
protected boolean isJavaScriptError(Response res)
- Overrides:
isJavaScriptErrorin classWebDriver
-
isLocatorError
protected boolean isLocatorError(Response res)
- Overrides:
isLocatorErrorin classWebDriver
-
isCookieError
protected boolean isCookieError(Response res)
- Overrides:
isCookieErrorin classWebDriver
-
-