Sahi Pro v6.0.0 Issues and Workarounds
This post shall list known issues and possible fixes. All changes mentioned here will be incorporated in the next version. โIssue #1: Scripts run slower because Sahi also waits for uninitiated AJAX requests.Workaround: Open: sahi/userdata/config/user_extensions.jsโ Add: // XHR wait fix start Sahi.prototype.areXHRsDone = eval(“(0 || “+(“”+Sahi.prototype.areXHRsDone).replace(“null==h||0==h||1==h”, “1==h”)+”)”); // XHR wait fix end before the line: […]
Sahi Pro v5.1.1 fast execution without waits on Chrome 34
Some of you may have noticed that Sahi Pro does not wait correctly for page loads since Chrome 34. This happens because of a change in window.document.readyState behaviour in (since?) Chrome 34. To fix it, do the following: Open: sahi/userdata/config/user_extensions.js Add: // Chrome 33 fix start Sahi.prototype.replace33 = function(fn) {return “(“+(“”+fn).replace(“_isChrome”, “isChrome33Minus”)+”)”;} Sahi.prototype.areWindowsLoaded = eval(_sahi.replace33(Sahi.prototype.areWindowsLoaded)); […]
Learn How to fix Sahi Pro popup identification In Firefox 86
With the release of Firefox 86 version, Firefox has changed the behavior of window.name. Sahi Pro identifies popups based on window.name, and previously, it would persist across the domain until someone explicitly changes it. Due to the recent change in Firefox 86, the behavior of window.name is such that it resets every time one navigates […]
Sahi Pro Chrome 58+ SSL certificate fix
NOTE: Post modified on 5 May 2017 with updated patch. Chrome 58 has introduced a check for Subject Alternative Name in SSL certificates. Sahi Pro’s certificate creation mechanism did not support this, causing https sites to fail on Chrome 58 (and higher). The error seen on Chrome is ERR_CERT_COMMON_NAME_INVALID. Our initial patch released on April […]
Running Microsoft Edge in Internet Explorer Mode

To configure Microsoft Edge Browser to open websites in IE mode follow these steps: โ โStep 1: Install Microsoft Edge policy template a) Open – https://www.microsoft.com/en-us/edge/business/download. b) Scroll down the page (till u see a download button). Select the Version, Build, Platform of your Microsoft Edge installation. c) Click on GET POLICY FILES. File MicrosoftEdgePolicyTemplates.cab […]
Playback failing for Chrome 139

Google Chrome 139 continues its phased rollout of the Privacy Sandbox, which includes significant changes to how third-party cookies are handled. Now, the third-party cookies are blocked by default in Incognito mode.This prevents Sahi’s internal ‘sahisid’ cookie from being accessible across domains. Consequently, Sahi Pro’s playback fails with a 90-second error. To fix this, add […]
OpenSSL and Heartbleed clarification in Sahi Pro
One of our support requests asked about the version of openssl used in Sahi Pro. Since it may be of concern to others, here is some more information related to use of openssl in Sahi Pro. The version of openssl is :OpenSSL 0.9.8h 28 May 2008 OpenSSL 0.9.8h did not have the heartbleed bug. (“OpenSSL […]
How to Fix Slow Playback on Firefox Version 98 and Above?
From version 98 onwards, Firefox has slowed down the processing of windows which are in the background. Due to this, during Sahi Pro’s distributed playback, the windows which are not in the foreground perform slower and the overall suite playback takes significantly longer. For longer runs, the count of aborted scripts was also higher. To […]
HTTPS Problem Resolution: Unable to tunnel through proxy
Sahi had been using its own custom implementation of proxy tunneling till a few months back. Owing to a lot of demand for some features, we moved to Java’s https url connection which supported tunneling through a corporate proxy with authentication. But unfortunately, a bug in Java’s https URL connection was tripping up a few […]
How to install Sahiโs root certificate on Android 11 and above?

For automating HTTPS websites in mobile browsers in Android 11 or more, Sahiโs root certificate must be installed.Below are the steps to install Sahiโs root certificate on android 11 and above. Start Sahi on a machine that is on the same network as the mobile device Configure the proxy settings of the browser on the […]
