Skip to content

Commit 6275352

Browse files
committed
Scroll to canvas elements before interacting with them
1 parent a28db7a commit 6275352

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11359,6 +11359,8 @@ def __click_with_offset(
1135911359
self.highlight(selector, by=by, loops=1)
1136011360
elif self.slow_mode:
1136111361
self.__slow_scroll_to_element(element)
11362+
else:
11363+
self.__scroll_to_element(element, selector, by)
1136211364
if self.demo_mode and mark is None:
1136311365
mark = True
1136411366
if mark:

0 commit comments

Comments
 (0)