Skip to content

Commit 56d669e

Browse files
committed
rb - set chromedriver to not log by default #2821
1 parent baf180f commit 56d669e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

rb/lib/selenium/webdriver/remote/capabilities.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ def chrome(opts = {})
6363
new({
6464
browser_name: 'chrome',
6565
javascript_enabled: true,
66-
css_selectors_enabled: true,
67-
loggingPrefs: {browser: 'ALL',
68-
driver: 'ALL'}
66+
css_selectors_enabled: true
6967
}.merge(opts))
7068
end
7169

rb/spec/integration/selenium/webdriver/options_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ module WebDriver
5151
end
5252

5353
# Phantomjs Returns har instead of driver
54-
not_compliant_on browser: :phantomjs do
54+
# Chrome - turned off by default
55+
not_compliant_on browser: [:phantomjs, :chrome] do
5556
it 'can get the driver log' do
5657
driver.navigate.to url_for('simpleTest.html')
5758

0 commit comments

Comments
 (0)