Setup proxy settings for Selenoid
Selenoid is a powerful Golang implementation of original Selenium hub code. It is using Docker to launch browsers.
There could be situation, when you need to run Selenoid in an environments without direct Internet access. And your tests may fail if the browser loads some resources from Internet resources. This small article will address such issue.
To pass proxy settings into Docker containers that Selenoid starts you need to configure
browsers.json on your own:
As you can see is this example you may use internal Nexus repository used for docker images as well.
So, to start Selenoid you can use the following script
--args "-limit 6" is used to specify maximum concurrent containers that Selenoid can run.