Issues and Fixes
June 7, 2021

Fix: Scripts Failing in Firefox 89

Issue 1: Firefox 89 has enhanced the privacy of its Private Browsing mode. By default, Firefox now blocks cross-site cookie tracking in private browsing. This enhancement prevents Sahi's internal 'sahisid' cookie from being accessible across domains. Consequently, Sahi's playback fails on the very first statement with a 90-second error.

Firefox 89 has enhanced the privacy of its Private Browsing mode. By default, Firefox now blocks cross-site cookie tracking in private browsing. This enhancement prevents Sahi's internal 'sahisid' cookie from being accessible across domains. Consequently, Sahi Playback fails for the very first statement with a 90-second error.

Issue 2: Firefox's captive portal detector regularly connects to http://detectportal.firefox.com/canonical.html. This opens an additional browser tab during Playback.

Issue 3: Firefox opens its hello dialog on every launch. 

Firefox's captive portal detector regularly connects to http://detectportal.firefox.com/canonical.html This opens an additional browser tab during Playback.

Refer to the below links for details.
https://blog.mozilla.org/security/2021/06/01/total-cookie-protection-in-private-browsing/
https://support.mozilla.org/en-US/kb/captive-portal

FIX: To handle the above mentioned issues during Playback, please follow the steps below.

  • Take a backup of <Sahi Pro>/config/ff_profile_template/prefs.js
  • Add the below lines in <Sahi Pro>/config/ff_profile_template/prefs.js
user_pref("network.cookie.cookieBehavior", 0);
user_pref("network.captive-portal-service.enabled", false);
user_pref("browser.startup.upgradeDialog.version", 89);
  • Delete the <Sahi Pro>/userdata/browser/ff folder.
  • Restart Sahi Pro and check.


The fix needs to be applied on versions Sahi Pro 9.1.2 or lower. This fix will be present in our upcoming releases.
For more information feel free to reach us at support@sahipro.com

Continue reading