Skip to content

Commit b69d395

Browse files
committed
accidentally left logging on
1 parent 08ba6fb commit b69d395

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: examples/ruby/spec/browsers/safari_spec.rb

+7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
}.to raise_error(Selenium::WebDriver::Error::WebDriverError, /Safari Service does not support setting log output/)
3232
end
3333
end
34+
35+
it 'sets the technology preview',
36+
except: {ci: true, reason: 'GitHub Actions does not support Technology Preview'} do
37+
Selenium::WebDriver::Safari.technology_preview!
38+
local_driver = Selenium::WebDriver.for :safari
39+
expect(local_driver.capabilities.browser_name).to eq 'Safari Technology Preview'
40+
end
3441
end
3542

3643
RSpec.describe 'Safari Technology Preview' do

Diff for: examples/ruby/spec/drivers/remote_webdriver_spec.rb

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
let(:target_directory) { File.join(Dir.tmpdir, SecureRandom.uuid) }
88
let(:wait) { Selenium::WebDriver::Wait.new(timeout: 2) }
99
let(:server) do
10-
Selenium::WebDriver.logger.level = :debug
1110
jar = Selenium::WebDriver::SeleniumManager.binary_paths('--grid')['driver_path']
1211
Selenium::Server.new(jar,
1312
background: true,

0 commit comments

Comments
 (0)