LambdaTestTesting Locally Hosted Pages ● Environment Variables Supported By LambdaTest Tunnel

Environment Variables Supported By LambdaTest Tunnel

You can leverage these environment variables to define your proxy settings. If these proxy environment variables are set then the tunnel will automatically detect them. You can switch command-line flags through an environment variable or .lt.yaml file with the LambdaTest Tunnel.

To configure the .lt.yaml file, you can refer to the section Leverage .lt.yaml file of the documentation LambdaTest Tunnel For Corporate Firewalls/ Enterprise Restricted Environments.

What are Environment Variables?

Environment variables can be used in place of command-line flags. Each operating system has its compatibility in terms of environment variables. Command-line flags restrict environment variables from being bypassed. When available, the command-line flags always take priority.

Below is the following list of environment variables used by the LambdaTest Tunnel


Environment Variable
Operating System


LambdaTest Tunnel uses the HTTP proxy (http://hostname:port)

Windows, Mac OS, Linux, FreeBSD


LambdaTest Tunnel uses the HTTPS proxy (https://hostname:port)

Windows, Mac OS, Linux, FreeBSD


Comma separated list of hosts to bypass proxy when using tunnel. Wild cards is supported for sub-domains.

Windows, Mac OS, Linux, FreeBSD


LambdaTest Username
LambdaTest Access Key

Windows, Mac OS, Linux, FreeBSD

That was all you need to know for LambdaTest Tunnel proxies. In case you have any questions, feel free to share them with us.Our experts are available on 24×7 chat support. You can also drop us a mail at [email protected]. Happy testing! ?