Skip to content

Commit 250e4fb

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

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
@@ -1192,7 +1192,7 @@ def click(self, wait_after=config.DEFAULT_SLEEP_AFTER_ACTION, *,
11921192
wait_after (int, optional): Interval to wait after clicking on the element.
11931193
clicks (int, optional): Number of times to click. Defaults to 1.
11941194
interval_between_clicks (int, optional): The interval between clicks in ms. Defaults to 0.
1195-
button (str, optional): One of 'left', 'right', 'middle'. Defaults to 'left'
1195+
button (str, optional): One of 'left', 'right'. Defaults to 'left'
11961196
"""
11971197
x, y = self.state.center()
11981198
self.click_at(x, y, clicks=clicks, button=button, interval_between_clicks=interval_between_clicks)

0 commit comments

Comments
 (0)