Skip to content

getConfig()

Lets you read the global configurations.

getConfig("retryInterval");
NameTypeDescription
optionNamestringSpecifies the name of the configuration option/parameter you want to get (optional).
If not specified, returns a shallow copy of the full global configuration.
stringstring”navigationTimeout” Navigation timeout value in milliseconds for navigation after performing
goto, click, doubleClick, rightClick,
write, clear, press and evaluate.
stringstring”observeTime” Option to modify delay time in milliseconds for observe mode.
stringstring”retryInterval” Option to modify delay time in milliseconds to retry the search of element existence.
stringstring”retryTimeout” Option to modify timeout in milliseconds while retrying the search of element existence.
stringstring”observe” Option to run each command after a delay. Useful to observe what is happening in the browser.
stringstring”waitForNavigation” Wait for navigation after performing goto, click,
doubleClick, rightClick, write, clear,
press and evaluate.
stringstring”ignoreSSLErrors” Option to ignore SSL errors encountered by the browser (defaults to true).
stringstring”headful” Option to open browser in headless/headful mode.
stringstring”highlightOnAction” Option to highlight an element on action.

This API does not return any values.