Skip to content

Commit

Permalink
Fix clear actions in ActionChains (#7943)
Browse files Browse the repository at this point in the history
* Fix clear actions in ActionChains

Clear actions in ActionChains object after perform

Fixes #7913

* Delete droppableItemsMulti.html

Co-authored-by: David Burns <[email protected]>
  • Loading branch information
bayilyas and AutomatedTester authored Feb 14, 2020
1 parent 3169619 commit 20cae7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/selenium/webdriver/common/actions/action_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def perform(self):
encoded = device.encode()
if encoded['actions']:
enc["actions"].append(encoded)
device.actions = []
self.driver.execute(Command.W3C_ACTIONS, enc)

def clear_actions(self):
Expand Down

0 comments on commit 20cae7e

Please sign in to comment.