We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2b13a commit 8748125Copy full SHA for 8748125
seleniumbase/fixtures/base_case.py
@@ -157,7 +157,14 @@ def open(self, url):
157
if ("http:") in c_url or ("https:") in c_url or ("file:") in c_url:
158
if self.get_domain_url(url) != self.get_domain_url(c_url):
159
self.open_new_window(switch_to=True)
160
- self.driver.get(url)
+ try:
161
+ self.driver.get(url)
162
+ except Exception as e:
163
+ if "ERR_CONNECTION_TIMED_OUT" in e.msg:
164
+ self.sleep(0.5)
165
166
+ else:
167
+ raise Exception(e.msg)
168
if settings.WAIT_FOR_RSC_ON_PAGE_LOADS:
169
self.wait_for_ready_state_complete()
170
self.__demo_mode_pause_if_active()
0 commit comments