Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Try setting script timeout for WebDriver #1217

Open
alisterscott opened this issue May 23, 2018 · 2 comments
Open

Try setting script timeout for WebDriver #1217

alisterscott opened this issue May 23, 2018 · 2 comments

Comments

@alisterscott
Copy link
Contributor

We currently use:

.setTimeouts( { implicit: webDriverImplicitTimeOutMS, pageLoad: webDriverPageLoadTimeOutMS } );
as of #1216

I noticed there is also a script value we can set - perhaps we should experiment to see whether this makes a difference to stability of tests

@brbrr
Copy link
Contributor

brbrr commented May 23, 2018

The default value is 30 sec. I've checked our executeScript calls - and they looks like relatively short term. Did you saw any timeout errors related to script execution?

@alisterscott
Copy link
Contributor Author

Did you saw any timeout errors related to script execution?

Only on IE11, but I've been trying to avoid executing JavaScript against IE11 generally. Should we just make it the same as page load to be consistent? Or not worry about it. I'm happy either way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants