Skip to content

Commit 90673dd

Browse files
committed
FIX: middle click is not supported on 'click_relative()' method.
1 parent 250e4fb commit 90673dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botcity/web/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ def click_relative(self, x, y, wait_after=config.DEFAULT_SLEEP_AFTER_ACTION, *,
12101210
wait_after (int, optional): Interval to wait after clicking on the element.
12111211
clicks (int, optional): Number of times to click. Defaults to 1.
12121212
interval_between_clicks (int, optional): The interval between clicks in ms. Defaults to 0.
1213-
button (str, optional): One of 'left', 'right', 'middle'. Defaults to 'left'
1213+
button (str, optional): One of 'left', 'right'. Defaults to 'left'
12141214
"""
12151215
x = self.state.x() + x
12161216
y = self.state.y() + y

0 commit comments

Comments
 (0)