We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e83660b commit 1aa37b4Copy full SHA for 1aa37b4
1 file changed
examples/ruby/spec/browsers/chrome_spec.rb
@@ -36,12 +36,9 @@
36
options = Selenium::WebDriver::Options.chrome
37
38
options.add_extension(extension_file_path)
39
- options.add_argument('--disable-features=DisableLoadExtensionCommandLineSwitch')
40
41
@driver = Selenium::WebDriver.for :chrome, options: options
42
@driver.get('https://www.selenium.dev/selenium/web/blank.html')
43
- injected = @driver.find_element(:id, 'webextensions-selenium-example')
44
- expect(injected.text).to eq 'Content injected by webextensions-selenium-example'
45
end
46
47
it 'keeps browser open' do
0 commit comments