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.

“DOM Exception: INVALID_CHARACTER_ERR (5)” while opening a website in IE9 using sahi

shashi007shashi007 Members
edited January 2014 in Sahi - Open Source
Hi All,

I'm trying to open a custom website in IE9 using sahi.
The website loads when no proxy is entered.
But after entering proxy as localhost:9999 (which is necessary to open sahi recorder) website does not load and gives the following error:

SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5)
mootools-1.2.2-core.js, line 121 character 71

Thanx in advance.

Best Answer

  • Most probably, the Sahi scripts are injected in the file you are trying to read, thus the parsing error.
    I got this kind of errors when parsing XSL files.
    Try adding the file name regexp pattern in userdata/config/exception_inject.txt: this will prevent Sahi to add its scripts.
Sign In or Register to comment.