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 822339e commit 1dffc78Copy full SHA for 1dffc78
examples/ruby/spec/browsers/firefox_spec.rb
@@ -36,4 +36,11 @@
36
injected = driver.find_element(id: 'webextensions-selenium-example')
37
expect(injected.text).to eq 'Content injected by webextensions-selenium-example'
38
end
39
+
40
+ it 'add arguments' do
41
+ options = Selenium::WebDriver::Options.firefox(args: ['-headless'])
42
43
+ @driver = Selenium::WebDriver.for :firefox, options: options
44
+ @driver.get('https://www.google.com')
45
+ end
46
0 commit comments