Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit d84a354

Browse files
Merge pull request #31 from fippo/fixit-again
webdriver: remove setScriptTimeout
2 parents 158d19f + 3c45e27 commit d84a354

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/selenium/selenium-lib.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@ function buildDriver() {
101101
sharedDriver.getCapabilities().set('marionette', true);
102102
}
103103
sharedDriver = sharedDriver.build();
104-
105-
// Set global executeAsyncScript() timeout (default is 0) to allow async
106-
// callbacks to be caught in tests.
107-
sharedDriver.manage().timeouts().setScriptTimeout(2000);
108-
109104
return sharedDriver;
110105
}
111106

0 commit comments

Comments
 (0)