From bd2a45615f0e1cd71a374774266436a440531bd1 Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Sat, 29 Oct 2022 05:59:05 +0200 Subject: Disable Chromium sandbox for Apparition --- features/support/env.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/features/support/env.rb b/features/support/env.rb index d8cfcbd3a..9297993e1 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -26,7 +26,11 @@ Capybara.server = :webrick Capybara.register_driver :apparition do |app| # Pass headless: false here if you need to see the browser - Capybara::Apparition::Driver.new(app, headless: true) + Capybara::Apparition::Driver.new( + app, + headless: true, + browser_options: %i[no_sandbox disable_setuid_sandbox disable_gpu] + ) end Capybara.javascript_driver = :apparition -- cgit v1.2.3