Members
Type Definitions
DriverOptions
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
timeout |
number
|
<optional> |
1000 | Timeout (in ms) for each call to driver.wait() |
browser |
string
|
<optional> |
'chrome' | Browser to use with this driver |
baseUrl |
string
|
<optional> |
'http://localhost:3000' | Base URL to test against Set via environment variable: `BASE_URL` `export BASE_URL=http://example.com` `BASE_URL=http://example.com npm run myTestScript` |
logLevel |
string
|
<optional> |
'SEVERE' | Log level for debug browser logs Allowed values:
|
homePagePath |
string
|
<optional> |
'/' | Path to homepage. Visited on |
debugDirectory |
string
|
<optional> |
'tmp/selenium-debug' | Directory to save debug logs and screenshots from failures |
- Source:
Type:
-
object