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.
Unable to setvalue in firefox and IE getting Type error
Using command: _setValue(_emailbox("email"), "sasa"); and _setPassword(_password("password"), "sasas"); for email and password field.
Getting below error:
TypeError: l.initKeyEvent is not a function
Click for browser script
at RhinoScriptRunner.executeInContext&n=1
::>FAILUREMESSAGE:at RhinoScriptRunner.executeInContext&n=1
Comments
I have the same issue. Any tips for solution?
KeyboardEvent.initKeyEvent is removed in Firefox Release 93. This is fixed and mentioned in https://resources.sahipro.com/docs/introduction/whats-new-in-sahi-pro-v9.5.0.html
You may try updating to Sahi v970.