Skip to content

Commit 5281444

Browse files
committed
Disable sandboxing for Ubuntu 24 compatibility
More context: SeleniumHQ/seleniumhq.github.io#2139
1 parent 93303d0 commit 5281444

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/application_system_test_case.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
require "test_helper"
22

33
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
4-
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
4+
driven_by :selenium, using: :chrome, screen_size: [1400, 1400] do |capabilities|
5+
capabilities.add_argument("headless")
6+
capabilities.add_argument("disable-gpu")
7+
capabilities.add_argument("no-sandbox")
8+
end
59

610
setup do
711
# Render error pages instead of raising on routing errors, like would happen

0 commit comments

Comments
 (0)