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 Script browser compatibility

DhirajDhiraj Members
edited November -1 in Sahi - Open Source
I recorded a sahi script on IE8. When i execute it on Firefox 5 , the script not recognize the text fields. while script is working fine with Chrome, Safari.

Regards,

Dhiraj..

Comments

  • SumitraSumitra Members
    Hi Dhiraj,

    Please follow these steps:

    Open sahi/htdocs/spr/concat.js
    Search for
    Sahi.prototype._isFF4 = function () {return /Firefox\/4|Iceweasel\/4|Shiretoko\/4/.test(this.navigator.userAgent);};
    

    and Replace it with.
    Sahi.prototype._isFF4 = function () {return /Firefox\/4|Iceweasel\/4|Shiretoko\/4|Firefox\/5|Iceweasel\/5|Shiretoko\/5/.test(this.navigator.userAgent);};
    

    Restart Sahi, clear browser cache, and your problem should be fixed.


    Regards
    Sumitra
  • DhirajDhiraj Members
    Thanks, it works.

    Regards,
    Dhiraj..
This discussion has been closed.