Skip to content

Commit

Permalink
fixup! [FIX COMMIT MSG] Implement WebDriver executor for wptrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Aug 10, 2018
1 parent d9ff74b commit 3fd14b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/wptrunner/wptrunner/executors/executorwebdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def set_timeout(self, timeout):
try:
self.webdriver.timeouts.script = timeout
except client.WebDriverException:
# workaround https://bugs.chromium.org/p/chromedriver/issues/detail?id=2057
body = {"type": "script", "ms": timeout * 1000}
self.webdriver.session.send_session_command("POST", "timeouts", body)

Expand Down

0 comments on commit 3fd14b4

Please sign in to comment.