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 5bc6209 commit ce54ec7Copy full SHA for ce54ec7
seleniumbase/fixtures/base_case.py
@@ -13647,7 +13647,11 @@ def setUp(self, masterqa_mode=False):
13647
self.driver.close()
13648
self.switch_to_window(0)
13649
if self._crumbs:
13650
- self.driver.delete_all_cookies()
+ self.wait_for_ready_state_complete()
13651
+ try:
13652
+ self.driver.delete_all_cookies()
13653
+ except Exception:
13654
+ pass
13655
except Exception:
13656
pass
13657
if self._reuse_session and sb_config.shared_driver and has_url:
0 commit comments