Skip to content

Commit

Permalink
Merge 26a23d8 into 25c2390
Browse files Browse the repository at this point in the history
  • Loading branch information
alijuma authored Jun 27, 2017
2 parents 25c2390 + 26a23d8 commit ff0a286
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/wptrunner/wptrunner/browsers/chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
for (kwarg, capability) in [("binary", "binary"), ("binary_args", "args")]:
if kwargs[kwarg] is not None:
capabilities["chromeOptions"][capability] = kwargs[kwarg]
if test_type == "testharness":
capabilities["chromeOptions"]["useAutomationExtension"] = False
capabilities["chromeOptions"]["excludeSwitches"] = ["enable-automation"]
executor_kwargs["capabilities"] = capabilities
return executor_kwargs

Expand Down

0 comments on commit ff0a286

Please sign in to comment.