Skip to content

Commit 7a6e28e

Browse files
committed
FIX: Allow get_last_x even if no element is found.
1 parent 794bb26 commit 7a6e28e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

botcity/web/bot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,6 @@ def click_on(self, label):
13381338
raise ValueError(f'Element not available. Cannot find {label}.')
13391339
self.click_at(x, y)
13401340

1341-
@only_if_element
13421341
def get_last_x(self):
13431342
"""
13441343
Get the last X position for the mouse.

0 commit comments

Comments
 (0)