18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Sahi Controller doesn't open with Chrome Version 24.0.1312.52 m

narayannarayan Administrators
edited January 2013 in Sahi Pro
Sahi Controller doesn't open with Chrome Version 24.0.1312.52 m

Answers

  • narayannarayan Administrators
    Copied from open source forums: http://sahi.co.in/forums/discussion/4624/sahi-controller-doesn039t-open-with-chrome-version-24-0-1312-52-m#Item_3

    Not sure what is going on, but here is the workaround.

    Open sahi/htdocs/spr/concat.js

    Look for
    Sahi.prototype.openControllerWindow
    
    . Replace the full function so that it looks like:
    Sahi.prototype.openControllerWindow = function (e) {
        if (!e) e = window.event;
        if (!this.isHotKeyPressed(e)) return true;
        if (this._isChrome()) {
            window.setTimeout(function(){_sahi.topSahi().openWin(e)}, 100);
        } else {
            this.topSahi().openWin(e);
        }
        return true;
    };
    

    Next search for
    _sahiControl
    
    in the same file and replace it with
    sahiControl
    
    . (You should see 2 occurrences.)

    Restart Sahi, clear browser cache and check.
  • Great! Thanks!

    I think, it occurs on the new version of Chrome.
    My version is 24.0.1312.57 m and this also occurs.
  • kannankannan Members
    Hi Narayan,
    As you suggested it is working fine. But when i directly give the URL in the tab, another new controller is opening .

    1. Open Sahi - click chrome(25 mine)
    2. Click on ALT+DblClick to open the sahi controller
    3. Now enter the URL directly on the address bar(www.sahi.co.in).
    4. A new controller is opening (so totally i am having two controllers at the same time)

    Please provide me solution.

    Thanks
    Gopi
Sign In or Register to comment.