Add configurable wait time when grabbing root html element #269
Originally created by Craig Atkinson.
When running Geb tests on our slow CI server, we run into exceptions similar to this one about every 100 tests.
I tested a couple different ways to solve this exception, and one that has worked well thus far (stopped NoSuchElementExceptions in 9 runs of 179 tests) is to add a wait into the root html element parsing in BrowserBackedNavigatorFactory.
Notes on the implementation:
Config value to enable/disable the timeout
Config value for the timeout value
Wrap the exception that Selenium throws if the timeout is reached
The text was updated successfully, but these errors were encountered: