Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LanWei22 authored Dec 4, 2018
1 parent 2cecdd9 commit f0b5ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/wptrunner/wptrunner/executors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def __call__(self, payload):
if (action["type"] == "pointerMove" and
isinstance(action["origin"], dict)):
action["origin"] = self.get_element(action["origin"]["selector"])
self.protocol.action_sequence.send_actions(actions)
self.protocol.action_sequence.send_actions({"actions": actions})

def get_element(self, selector):
element = self.protocol.select.element_by_selector(selector)
Expand Down

0 comments on commit f0b5ee0

Please sign in to comment.