Issues and Fixes
October 30, 2014

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:

__sahiDebug__("user_ext.js: end");

Restart Sahi, clear browser cache before re running scripts.

Continue reading