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 e8a1265 commit b74a321Copy full SHA for b74a321
seleniumbase/fixtures/base_case.py
@@ -282,6 +282,8 @@ def click(
282
if self.__is_shadow_selector(selector):
283
self.__shadow_click(selector, timeout)
284
return
285
+ if self.browser == "safari":
286
+ self.wait_for_ready_state_complete()
287
element = page_actions.wait_for_element_visible(
288
self.driver,
289
selector,
@@ -482,9 +484,7 @@ def click(
482
484
elif self.slow_mode:
483
485
self.__slow_mode_pause_if_active()
486
elif self.browser == "safari":
- time.sleep(0.01)
487
self.wait_for_ready_state_complete()
488
489
def slow_click(self, selector, by="css selector", timeout=None):
490
"""Similar to click(), but pauses for a brief moment before clicking.
0 commit comments