Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup Cypress.io to access a page through a proxy

Is it possible to setup cypress.io to access pages through a proxy?

I have a proxy that I need to go through, in order to test my application. Is there anyway to configure cypress.io to honour the standard HTTP_PROXY environment variables.. or is there some other setup that is required?

like image 538
Dylan Watson Avatar asked Nov 20 '17 08:11

Dylan Watson


People also ask

Does Cypress use a proxy?

Cypress automatically reads from your system's HTTP_PROXY environment variable and uses that proxy for all HTTP and HTTPS traffic.

What is proxy bypass list?

The Proxy Bypass tab of the Bypass Settings page enables you to define sites that bypass the cloud service for all policies. This may include, for example, internal sites that are not accessible from the Internet, so the cloud service cannot serve or analyze them.


1 Answers

HTTP_PROXY was added and Cypress.io should be able to work with your proxy with that set. I however still can't get our HTTPS to work, so its not totally working

like image 133
NickStees Avatar answered Nov 14 '22 00:11

NickStees