18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Javascript illegal character error
I am trying to execute scripts and I keep coming across this error now within Sahi that says "illegal character" which happens to be shown below:
<browser>
Those few characters appear every single time I execute ANY script, and thus prevent script execution. I have restarted the computer and tried again, but come across this same error.
Any ideas/suggestions?
<browser>
Those few characters appear every single time I execute ANY script, and thus prevent script execution. I have restarted the computer and tried again, but come across this same error.
Any ideas/suggestions?
Comments
If you delete the contents inside the browser tags, do you still get the error?
I am using the latest version of sahi v2 - 2009-03-04.
I think it has something to do with the encoding used by your editor (in this case which happens to be visual studio). May when you copy the code from visual studio some special characters (invisible) like new line or linefeed etc may also had got copied.
Regards,
Pankaj.