-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
C-pyPython BindingsPython BindingsI-defectSomething is not working as intendedSomething is not working as intended
Description
Calling ActionBuilder.add_wheel_input() will always throw a TypeError. There are no tests or docs that I can see, so I'm unsure whether to remove the kind argument from add_wheel_input or add it to WheelInput.__init__(). This appears to have been the case since it was introduced.
How can we reproduce the issue?
You can reproduce the TypeError without even creating a WebDriver instance by doing:
>>> from selenium.webdriver.common.action_chains import ActionChains
>>> ActionChains('').w3c_actions.add_wheel_input('', '')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../selenium/webdriver/common/actions/action_builder.py", line 77, in add_wheel_input
new_input = WheelInput(kind, name)
TypeError: __init__() takes 2 positional argumentsMetadata
Metadata
Assignees
Labels
C-pyPython BindingsPython BindingsI-defectSomething is not working as intendedSomething is not working as intended