configuring taiko
Listed below are instructions on how to modify Taiko's default parameters for specific uses cases
Using environment variables #
Taiko lets you specify certain Environment variables to customize its behaviour
TAIKO_ENABLE_ACTION_OUTPUT
- set totrue
to print output of each action. It's set totrue
by default with Taiko runner and in REPL mode.TAIKO_SKIP_CHROMIUM_DOWNLOAD
- set totrue
to skip downloading chromiumTAIKO_HIGHLIGHT_ON_ACTION
- set tofalse
to turn off highlighting the element on actionTAIKO_BROWSER_PATH
- set to launch browser from different locationTAIKO_BROWSER_ARGS
- set ',' separated browser command line switches to launch browser with extra argsTAIKO_EMULATE_DEVICE
- set to device model to emulate device view portTAIKO_EMULATE_NETWORK
- set to the network type for Taiko to simulate. Available options are GPRS, Regular2G, Good2G, Regular3G, Good3G, Regular4G, DSL, WiFi, OfflineTAIKO_PLUGIN
- set to the plugin which you want Taiko to load. Takes comma separated values.TAIKO_SKIP_DOCUMENTATION
- set to skip API documentation generation during install.