Skip to content

Commit

Permalink
[py]: remove redundant actions array of action_chains (#10716)
Browse files Browse the repository at this point in the history
remove redundant actions array of `action_chains`
  • Loading branch information
symonk authored Jun 9, 2022
1 parent a969654 commit be408c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions py/selenium/webdriver/common/action_chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def __init__(self, driver, duration=250):
- duration: override the default 250 msecs of DEFAULT_MOVE_DURATION in PointerInput
"""
self._driver = driver
self._actions = []
self.w3c_actions = ActionBuilder(driver, duration=duration)

def perform(self):
Expand All @@ -85,7 +84,6 @@ def reset_actions(self):
self.w3c_actions.clear_actions()
for device in self.w3c_actions.devices:
device.clear_actions()
self._actions = []

def click(self, on_element=None):
"""
Expand Down

0 comments on commit be408c0

Please sign in to comment.