Skip to content Skip to sidebar Skip to footer

Timeout Expired Waiting For Async Script On IE 9

I'm trying to run some tests (using Protractor) on Internet Explorer 9 - and each test that contains ' driver.executeScript ' gives an error : Timeout expired waiting for async scr

Solution 1:

There are two timeouts in play here - the timeout for the individual test, and the timeout for each script that WebDriver runs in your browser. Check out https://github.com/angular/protractor/blob/master/docs/debugging.md#timeouts for more info on that.

You can set the script timeout in the config with allScriptsTimeout. See https://github.com/angular/protractor/commit/e34a4abf9957d2aa73e0d8cda262e624ad15e95e for the CL which introduced that option.


Post a Comment for "Timeout Expired Waiting For Async Script On IE 9"