Set an implicit wait for selenium.
|Reported by:||apollo13||Owned by:||bsilverberg|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
Selenium often tries to access elements before the page is loaded; it offers an implicitly_wait method which we could utilize and it might fix a few of our timing issues; I'd suggest a relatively high timeout of 10 seconds to cover our bases. See https://github.com/SeleniumHQ/selenium/blob/master/py/selenium/webdriver/remote/webdriver.py#L626 for this method.
Change History (9)
comment:2 Changed 22 months ago by bsilverberg
- Owner changed from nobody to bsilverberg
- Status changed from new to assigned