Package com.intuit.karate.driver.chrome
Class Chrome
- java.lang.Object
-
- com.intuit.karate.driver.DevToolsDriver
-
- com.intuit.karate.driver.chrome.Chrome
-
public class Chrome extends DevToolsDriver
- Author:
- pthomas3
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_PATH_LINUX
static String
DEFAULT_PATH_MAC
static String
DEFAULT_PATH_WIN
static String
DEFAULT_PATH_WIN32
static String
DEFAULT_PATH_WIN64
static String
DRIVER_TYPE
-
Fields inherited from class com.intuit.karate.driver.DevToolsDriver
client, command, currentDialogText, currentMouseXpos, currentMouseYpos, domContentEventFired, framesStillLoading, logger, mainFrameId, options, rootFrameId, sessionId
-
Fields inherited from interface com.intuit.karate.driver.Driver
METHOD_NAMES
-
-
Constructor Summary
Constructors Constructor Description Chrome(DriverOptions options, Command command, String webSocketUrl)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Chrome
start()
static Chrome
start(String chromeExecutablePath, boolean headless)
static Chrome
start(Map<String,Object> options)
static Chrome
start(Map<String,Object> map, ScenarioRuntime sr)
static Chrome
startHeadless()
-
Methods inherited from class com.intuit.karate.driver.DevToolsDriver
actions, activate, attribute, back, clear, clearCookies, click, close, cookie, cookie, deleteCookie, dialog, dialog, elementId, elementIds, emulateDevice, enabled, enableNetworkEvents, enablePageEvents, enableRuntimeEvents, eval, evalForObjectId, evalQuickly, focus, forward, fullscreen, getCookies, getDialogText, getDimensions, getOptions, getPages, getRootNodeId, getTitle, getUrl, html, initWindowIdAndState, input, inputFile, intercept, intercept, isTerminated, maximize, method, minimize, nextId, pdf, position, position, property, quit, receive, refresh, reload, retryIfEnabled, screenshot, screenshot, screenshotFull, script, scriptAwait, select, select, send, send, sendAndWait, 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
-
DEFAULT_PATH_MAC
public static final String DEFAULT_PATH_MAC
- See Also:
- Constant Field Values
-
DEFAULT_PATH_WIN32
public static final String DEFAULT_PATH_WIN32
- See Also:
- Constant Field Values
-
DEFAULT_PATH_WIN64
public static final String DEFAULT_PATH_WIN64
- See Also:
- Constant Field Values
-
DEFAULT_PATH_WIN
public static final String DEFAULT_PATH_WIN
-
DEFAULT_PATH_LINUX
public static final String DEFAULT_PATH_LINUX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Chrome
public Chrome(DriverOptions options, Command command, String webSocketUrl)
-
-