getConfig()
Lets you read the global configurations.
Examples
Section titled “Examples”getConfig("retryInterval");Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
optionName | string | Specifies the name of the configuration option/parameter you want to get (optional). If not specified, returns a shallow copy of the full global configuration. |
string | string | ”navigationTimeout” Navigation timeout value in milliseconds for navigation after performing goto, click, doubleClick, rightClick, write, clear, press and evaluate. |
string | string | ”observeTime” Option to modify delay time in milliseconds for observe mode. |
string | string | ”retryInterval” Option to modify delay time in milliseconds to retry the search of element existence. |
string | string | ”retryTimeout” Option to modify timeout in milliseconds while retrying the search of element existence. |
string | string | ”observe” Option to run each command after a delay. Useful to observe what is happening in the browser. |
string | string | ”waitForNavigation” Wait for navigation after performing goto, click, doubleClick, rightClick, write, clear, press and evaluate. |
string | string | ”ignoreSSLErrors” Option to ignore SSL errors encountered by the browser (defaults to true). |
string | string | ”headful” Option to open browser in headless/headful mode. |
string | string | ”highlightOnAction” Option to highlight an element on action. |
Returns
Section titled “Returns”This API does not return any values.