1

Suites running on IE 11 throwing the exception: Failed: Timeout expired waiting for async script. Whereas it is working fine in Chrome and Firefox. Is it browser specific issue.

1 Answer 1

1

You can manage the timeouts by putting this at the point where you initiate your driver:

driver.Manage().Timeouts().SetScriptTimeout(TimeSpan.FromSeconds(5));
4
  • Tried with setting also , we are using protractor May 10, 2016 at 10:02
  • 1
    Generally why we are getting it for IE only May 10, 2016 at 10:02
  • That is strange. I am using protractor as well and that did the trick for me. Maybe this will help? github.com/angular/protractor/commit/…
    – Anand
    May 10, 2016 at 10:45
  • If I could give you more points I would, thanks for the answer Mar 13, 2018 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.