Skip to content

Commit

Permalink
Scroll to canvas elements before interacting with them
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmintz committed Jun 17, 2022
1 parent a28db7a commit 6275352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions seleniumbase/fixtures/base_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -11359,6 +11359,8 @@ def __click_with_offset(
self.highlight(selector, by=by, loops=1)
elif self.slow_mode:
self.__slow_scroll_to_element(element)
else:
self.__scroll_to_element(element, selector, by)
if self.demo_mode and mark is None:
mark = True
if mark:
Expand Down

0 comments on commit 6275352

Please sign in to comment.