Skip to content

Optimize the proxy_helper for proxy with auth

Compare
Choose a tag to compare
@mdmintz mdmintz released this 20 Oct 00:22
· 3797 commits to master since this release
ae62f36

Optimize the proxy_helper for proxy with auth

The proxy_helper is used to run tests on a proxy server that requires authentication.

To change the browser's proxy settings, use the following for a server with auth:

pytest --proxy=USERNAME:PASSWORD@IP_ADDRESS:PORT

If a proxy server has no auth, you can use:

pytest --proxy=IP_ADDRESS:PORT