Update Dockerfile to install Headless Chrome
This commit is contained in:
@@ -32,7 +32,7 @@ end
|
||||
|
||||
Capybara.register_driver :headless_chrome do |app|
|
||||
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
|
||||
chromeOptions: { args: %w(headless window-size=1200,600) }
|
||||
chromeOptions: { args: %w(headless no-sandbox window-size=1200,600) }
|
||||
)
|
||||
|
||||
Capybara::Selenium::Driver.new(
|
||||
|
||||
Reference in New Issue
Block a user