Closed lf2a closed 2 years ago
Describe the bug Middle-click doesn't work, but it's in the docstring.
In self.click() docstring describes buttons allowed (left, right, middle) but in self.click_at() method raises an exception if button value is not equals left or right.
self.click()
self.click_at()
self.click(): https://github.com/botcity-dev/botcity-framework-web-python/blob/007455b3d4032d5f9942e426854f97e12d137241/botcity/web/bot.py#L1185 self.click_at(): https://github.com/botcity-dev/botcity-framework-web-python/blob/007455b3d4032d5f9942e426854f97e12d137241/botcity/web/bot.py#L1161
Expected behavior Middle-click action
Steps to Reproduce self.click(wait_after=1000, clicks=2, button='middle')
self.click(wait_after=1000, clicks=2, button='middle')
Possible Solution Implements middle click or remove middle click on self.click() docstring.
My Platform
Windows 11 Pro 21H2
3.10.2
botcity-framework-web 0.3.1
Additional context
Describe the bug Middle-click doesn't work, but it's in the docstring.
In
self.click()
docstring describes buttons allowed (left, right, middle) but inself.click_at()
method raises an exception if button value is not equals left or right.self.click()
: https://github.com/botcity-dev/botcity-framework-web-python/blob/007455b3d4032d5f9942e426854f97e12d137241/botcity/web/bot.py#L1185self.click_at()
: https://github.com/botcity-dev/botcity-framework-web-python/blob/007455b3d4032d5f9942e426854f97e12d137241/botcity/web/bot.py#L1161Expected behavior Middle-click action
Steps to Reproduce
self.click(wait_after=1000, clicks=2, button='middle')
Possible Solution Implements middle click or remove middle click on
self.click()
docstring.My Platform
Windows 11 Pro 21H2
3.10.2
botcity-framework-web 0.3.1
Additional context