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.

What does exclude_inject file do

kalyanramkalyanram Members
edited November -1 in Sahi - Open Source
I have an application where I am not able to move forward wherever there is a get from the database. But this happens only when I record using the sahi. I do not get this error when sahi I don't use Sahi.

The error that I get is a customised error for that application and not thrown from Sahi.

I tried ading the url of the that application in the exclude_inject.txt. After this I was able to record smoothly but I could not playback the recorded script.

Is there a way where I can see whether that url is being excluded from injection of java script?

Comments

  • narayannarayan Administrators
    Access that url via the browser and do a view source of the page. If you see some
    "<script src" tags at the top with one of them pointing to concat.js, then it means that the js is getting injected.
Sign In or Register to comment.