You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: runestone/unittest_base.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,8 @@ def setUp(self):
226
226
# Use the shared module-wide driver.
227
227
self.driver=mf.driver
228
228
self.host=HOST_URL
229
+
# Add an `implicit wait <https://selenium-python.readthedocs.io/waits.html#implicit-waits>`_.
230
+
self.driver.implicitly_wait(5)
229
231
230
232
deftearDown(self):
231
233
# Clear as much as possible, to present an almost-fresh instance of a browser for the next test. (Shutting down then starting up a browswer is very slow.)
0 commit comments