Methods
androidChrome() → (non-null) {Options}
Configures the ChromeDriver to launch Chrome on Android via adb. This function is shorthand for options.androidPackage('com.android.chrome').
A self reference.
- Type:
- Options
setChromeBinaryPath(path) → (non-null) {Options}
Sets the path to the Chrome binary to use. On Mac OS X, this path should reference the actual Chrome executable, not just the application binary (e.g. "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome").
The binary path be absolute or relative to the chromedriver server executable, but it must exist on the machine that will launch Chrome.
Name | Type | Description |
---|---|---|
path | string | The path to the Chrome binary to use. |
A self reference.
- Type:
- Options
setChromeLogFile(path) → (non-null) {Options}
Sets the path to Chrome's log file. This path should exist on the machine that will launch Chrome.
Name | Type | Description |
---|---|---|
path | string | Path to the log file to use. |
A self reference.
- Type:
- Options
setChromeMinidumpPath(path) → (non-null) {Options}
Sets the directory to store Chrome minidumps in. This option is only supported when ChromeDriver is running on Linux.
Name | Type | Description |
---|---|---|
path | string | The directory path. |
A self reference.
- Type:
- Options