Taiko
Documentation

Home / API Reference

getConfig

Lets you read the global configurations.

Examples

getConfig("retryInterval");

Parameters


optionName

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

"navigationTimeout" Navigation timeout value in milliseconds for navigation after performing goto, click, doubleClick, rightClick, write, clear, press and evaluate.


string

"observeTime" Option to modify delay time in milliseconds for observe mode.


string

"retryInterval" Option to modify delay time in milliseconds to retry the search of element existence.


string

"retryTimeout" Option to modify timeout in milliseconds while retrying the search of element existence.


string

"observe" Option to run each command after a delay. Useful to observe what is happening in the browser.


string

"waitForNavigation" Wait for navigation after performing goto, click, doubleClick, rightClick, write, clear, press and evaluate.


string

"ignoreSSLErrors" Option to ignore SSL errors encountered by the browser (defaults to true).


string

"headful" Option to open browser in headless/headful mode.


string

"highlightOnAction" Option to highlight an element on action.


Returns

This API does not return any values