public class Chrome extends DevToolsDriver
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PATH_MAC |
static String |
DEFAULT_PATH_WIN |
client, command, currentDialogText, currentUrl, logger, options, pageId| Constructor and Description |
|---|
Chrome(DriverOptions options,
CommandThread command,
String webSocketUrl) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getWindowHandles() |
static Chrome |
start() |
static Chrome |
start(Map<String,Object> options) |
static Chrome |
start(ScenarioContext context,
Map<String,Object> map,
Logger logger) |
static Chrome |
start(String chromeExecutablePath,
boolean headless) |
static Chrome |
startHeadless() |
activate, attribute, back, clear, clearCookies, click, click, close, cookie, css, deleteCookie, dialog, dialog, enabled, enableNetworkEvents, enablePageEvents, eval, evaluate, evaluateAndGetResult, focus, forward, fullscreen, getCookies, getDialog, getDimensions, getLocation, getNextId, getTitle, highlight, html, initWindowIdAndState, input, input, maximize, method, minimize, name, pdf, property, quit, receive, rect, refresh, reload, screenshot, screenshot, screenshot, select, select, sendAndWait, sendAndWait, setCookie, setDimensions, setLocation, submit, switchTo, text, value, value, waitSync, waitUntilpublic static final String DEFAULT_PATH_MAC
public static final String DEFAULT_PATH_WIN
public Chrome(DriverOptions options, CommandThread command, String webSocketUrl)
Copyright © 2019. All rights reserved.