The supported environment variables in TestDriver are:
VariableTypeDescription
TD_ANALYTICSbooleanSend analytics to TestDriver servers. This helps provide feedback to inform our roadmap.
TD_API_KEYstringSet this to spawn VMs with TestDriver Pro.
Always remember to add a .gitignore file to your repository including a .env line so you never accidentally commit you TestDriver API key. This is important for security and to prevent exposing sensitive information. For more info see GitHub Docs.

Example

.env
TD_API_KEY=your_api_key
In this example .env file, we’re running a website test in a local Linux VM with a resolution of 1024x768. The terminal will be minimized, and the overlay won’t be shown. Analytics will be sent to TestDriver servers.