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

Commit 3c45e27

Browse files
committed
webdriver: remove setScriptTimeout
let the user do this if desired.
1 parent 091d264 commit 3c45e27

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)