Skip to main content

Script Error while running selenium scripts on IE

While running the selenium scripts on IE, we might get this error sometimes:
Script Error on IE




Solutions: 

  1. Possible that your pop-up blocker is enabled which is stopping selenium from opening another window (multi-window mode) - so add an exception to your pop-up blocker - Use this link to add/remove popup exceptions
  2. You can disable script errors on IE by disabling MDM. Machine Debug Manager Windows service (not only stop it, but prevent it from starting after the computer restarts). Follow this link to Disable
  3. Sometimes running the tests/starting the server as an ADMIN resolves the issue

Comments

jaspreet said…
I was also facing same issue. Running cmd as admin solved the issue.