public class Chrome extends DevToolsDriver
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PATH_LINUX |
static String |
DEFAULT_PATH_MAC |
static String |
DEFAULT_PATH_WIN |
client, command, currentDialogText, currentMouseXpos, currentMouseYpos, currentUrl, domContentEventFired, framesStillLoading, logger, options, rootFrameId, sessionIdMETHOD_NAMES| Constructor and Description |
|---|
Chrome(DriverOptions options,
Command command,
String webSocketUrl) |
| Modifier and Type | Method and Description |
|---|---|
static Chrome |
start() |
static Chrome |
start(Map<String,Object> options) |
static Chrome |
start(ScenarioContext context,
Map<String,Object> map,
LogAppender appender) |
static Chrome |
start(String chromeExecutablePath,
boolean headless) |
static Chrome |
startHeadless() |
actions, activate, attribute, back, clear, clearCookies, click, close, cookie, cookie, deleteCookie, dialog, dialog, elementId, elementIds, emulateDevice, enabled, enableNetworkEvents, enablePageEvents, enableRuntimeEvents, enableTargetEvents, eval, focus, forward, fullscreen, getCookies, getDialog, getDimensions, getOptions, getPages, getRootNodeId, getTitle, getUrl, html, initWindowIdAndState, input, inputFile, intercept, isTerminated, maximize, method, minimize, nextId, pdf, position, property, quit, receive, refresh, reload, retryIfEnabled, screenshot, screenshot, screenshotFull, script, select, select, send, send, sendAndWait, setDimensions, setUrl, submit, switchFrame, switchFrame, switchPage, switchPage, text, timeout, timeout, value, value, waitSync, waitUntilclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabove, afterScenario, below, delay, exists, highlight, highlight, highlightAll, highlightAll, input, input, input, keys, leftOf, locate, locateAll, locateAll, methodNames, mouse, mouse, mouse, near, optional, retry, retry, retry, rightOf, screenshot, screenshot, script, scriptAll, scriptAll, scroll, setContext, waitFor, waitForAny, waitForAny, waitForEnabled, waitForResultCount, waitForResultCount, waitForText, waitForUrl, waitUntil, waitUntilmethodNamespublic static final String DEFAULT_PATH_MAC
public static final String DEFAULT_PATH_WIN
public static final String DEFAULT_PATH_LINUX
public Chrome(DriverOptions options, Command command, String webSocketUrl)
public static Chrome start(ScenarioContext context, Map<String,Object> map, LogAppender appender)
public static Chrome start()
public static Chrome startHeadless()
Copyright © 2020. All rights reserved.