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.

Java script error - _sahi is undefined

PoojaPooja Members
edited November -1 in Sahi - Open Source
Hi,

I am new to this tool and trying to evaluate to use it for our project, I had gone through the tutorial and cofigured browser settings and external proxy settings.

I am able to open google.com and perform a test run, but when I open my application I am getting "_sahi is undefined" java script error. I tried using localhost,127.0.0.1 and even with machine name.

I cleared browser cache, refreshed many times, still I am getting this error. Can anyone please help me on this.

Regards,
Pooja

Comments

  • PoojaPooja Members
    I think I found the problem, in sahi/config folder we have two files (inject_top.txt, inject_bottom.txt). only inject_bottom.txt is getting injected. May I know the reason why this is happening?

    Regards,
    Pooja
Sign In or Register to comment.