We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Selenium::WebDriver::Chrome::Options
1 parent fc98782 commit b871ac0Copy full SHA for b871ac0
lib/billy/browsers/capybara.rb
@@ -84,7 +84,7 @@ def self.register_selenium_driver
84
85
::Capybara.register_driver :selenium_chrome_headless_billy do |app|
86
options = Selenium::WebDriver::Chrome::Options.new
87
- options.headless!
+ options.add_argument('--headless=new')
88
options.add_argument('--enable-features=NetworkService,NetworkServiceInProcess')
89
options.add_argument('--ignore-certificate-errors')
90
options.add_argument("--proxy-server=#{Billy.proxy.host}:#{Billy.proxy.port}")
0 commit comments