Skip to content

Commit 079033f

Browse files
authored
Merge pull request #33 from lf2a/fix-docstring
FIX: Docstrings Remove Middle Click
2 parents e1ab1b3 + 90673dd commit 079033f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

botcity/web/bot.py

Lines changed: 2 additions & 2 deletions
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)
@@ -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)