Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LanWei22 authored Jul 4, 2019
1 parent 46477f8 commit dbc3399
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/webdriver/webdriver/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ def perform(self, actions=None):
body = {"actions": [] if actions is None else actions}
actions = self.session.send_session_command("POST", "actions", body)
"""WebDriver window should be set to the top level window when wptrunner
processes the next event. Now we can only go one frame deep, so switching
the frame's parent is sufficient.
processes the next event.
"""
self.session.switch_frame(None)
return actions
Expand Down

0 comments on commit dbc3399

Please sign in to comment.