CAPABILITY GENERATOR

LambdaTestAutomation Testing ● Run Selenium Tests Behind The Proxy

Run Selenium Tests Behind The Proxy


If your system is behind a proxy or protected by a firewall, you will not be able to run the Selenium test scripts directly on the LambdaTest Selenium grid. You need to define your proxy settings so that the connection goes through as usual.

This documentation will help you run your Selenium test behind a proxy server.

How To Define Proxy Settings in Selenium C#?


You can define proxy programmatically by adding the below snippet in your code.

Below is the NUnit code that shows the insertion of the above code snippet to define proxy settings.

Execute the above NUnit test scripts, and you’ll be able to run your Selenium tests directly on the LambdaTest Selenium grid behind the proxy server.

If you have any questions or require an additional information, you can contact us at our 24×7 chat support. You can also drop us a mail at [email protected].