Top Rounds
[Hide Navigation]

Configure Browser Proxy ·

For Sahi to record and playback, browsers need to use Sahi as their proxy.
From Sahi V3.5, Sahi automatically modifies the proxy settings before launching browser.

If for some reason the proxy switching does not work, follow the instructions below to change the proxy on your browser.


Configuring Firefox to use Sahi's proxy

  • Go to Tools > Options > General > Connection Settings >
  • Set to “Manual Proxy Configuration”
  • Set “HTTP Proxy” to “localhost”
  • Set “Port” to “9999”. (This setting can be modified through /config/
  • Do the same for “SSL Proxy” too, if you wish to record and playback https sites
  • Keep “Use the same proxy for all protocol” unchecked as Sahi does not understand protocols other than HTTP
  • NOTE: “No Proxy for” should NOT have localhost in it.

Internet Explorer:

Configuring Firefox to use Sahi's proxy

  • Go to Tools > Internet Options > Connections > LAN Settings >
  • In “Proxy server” section, Check “Use a proxy server for your LAN
  • Click on “Advanced”
  • For HTTP: set “Proxy address to use” to “localhost” and set “Port” to “9999”
  • For Secure: set “Proxy address to use” to “localhost” and set “Port” to “9999” (if you want to test https sites too)
  • Clear out anything in “Do not use proxy server for addresses beginning with:”
  • OK
  • Leave “Bypass proxy server for local addresses” unchecked
  • OK > OK

Connecting through VPNs for IE

(This also needs to be done for data cards like Tata Photon, Reliance etc.)

Sahi sets the IE LAN proxy settings to localhost 9999 automatically. When going through a VPN, you do not use the LAN, so Sahi’s settings would not work. To fix this you need to

1) Manually configure IE to use Sahi for the VPN connection
2) Optionally, tell Sahi to not change the LAN settings (optional: do this only if you will never use LAN)

To accomplish this, please follow the instructions below:

1) On IE, go to Tools -> Internet Options -> Connections -> Dial-up and Virtual Private Network Settings. There choose your VPN, and click on “Settings” button near it. Set localhost 9999 for HTTP and Secure.
Now Sahi should work correctly over your VPN.

2) (Optional, do this only if you will never use LAN) Open browser_types.xml from the Configure link on dashboard, and remove
line from Internet Explorer settings (You can remove it where ever it is present.)
Save, restart Sahi, and now Sahi will not try to change proxy settings of your system.


Top Rounds