Skip to content

Commit dd5b0c3

Browse files
committed
Update a canvas method
1 parent 742805e commit dd5b0c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11361,7 +11361,11 @@ def __click_with_offset(
1136111361
pass
1136211362
try:
1136311363
action_chains = ActionChains(self.driver)
11364-
action_chains.move_to_element_with_offset(element, x, y)
11364+
import warnings
11365+
11366+
with warnings.catch_warnings():
11367+
warnings.simplefilter("ignore", category=DeprecationWarning)
11368+
action_chains.move_to_element_with_offset(element, x, y)
1136511369
if not double:
1136611370
action_chains.click().perform()
1136711371
else:

0 commit comments

Comments
 (0)