Skip to content

Commit

Permalink
Remove browserName from default Chrome capabilities
Browse files Browse the repository at this point in the history
The configuration for Chrome currently sends 'browserName' capability
to ChromeDriver by default. This is unnecessary, and causes errors in
several test cases in webdriver/tests/new_session, whenever a test case
wants to set a different browserName.
  • Loading branch information
JohnChen0 authored and jgraham committed Nov 29, 2018
1 parent 9118ed3 commit 04d65b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/wptrunner/wptrunner/browsers/chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
executor_kwargs["close_after_done"] = True

capabilities = {
"browserName": "chrome",
"goog:chromeOptions": {
"prefs": {
"profile": {
Expand Down

0 comments on commit 04d65b3

Please sign in to comment.