In enterprise environments, the use of proxies is a common practice to control and monitor internet traffic flow. When automating Web UI Tests, it becomes crucial to configure the setup correctly in the presence of a proxy within the network infrastructure.
Access to the web applications is made through web browsers, so typically you should configure the proxy in each browser you want to use to run your tests.
On the other hand, GXtest uses Selenium Manager, a tool that automatically seeks and downloads the appropriate driver for the installed target browser version. If a proxy is in place, Selenium Manager's request will not get through the internet unless you set the proxy configuration for it. So the procedure is the following:
1. Locate the .cache/Selenium folder in the user directory. For example C:\Users\admin\.cache\selenium
2. Create a file se-config.toml
3. Add the lines following lines in it:
proxy="url"
3. Save the changes and execute the tests again.
Alternatively to creating the configuration file, you can create an environment variable called SE_PROXY and put the proxy URL in it.