Last active
November 21, 2025 11:57
-
-
Save diemol/9ef7fed6e0650953d9100122ed8accc4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function FindProxyForURL(url, host) { | |
| // Force ONLY www.selenium.dev through a fake (non-existent) proxy | |
| if (dnsDomainIs(host, "www.selenium.dev")) { | |
| return "PROXY 127.0.0.1:9999"; | |
| } | |
| // Everything else works normally | |
| return "DIRECT"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment