Skip to content

Commit 9107245

Browse files
justin808claude
andcommitted
Update react_on_rails and fix headless Chrome for tests
- Update react_on_rails to latest master (revision b50a74d9) - Fix headless Chrome mode by using --headless=new flag Chrome 109+ requires the new headless mode to work properly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e1ad266 commit 9107245

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/shakacode/react_on_rails.git
3-
revision: 1969b2d22d4fd32b5ff181e18084a6949c052ac6
3+
revision: b50a74d9045015479d2eb515adee5060963ec72d
44
branch: master
55
specs:
66
react_on_rails (16.2.0.beta.12)
@@ -125,7 +125,7 @@ GEM
125125
execjs
126126
coffee-script-source (1.12.2)
127127
concurrent-ruby (1.3.5)
128-
connection_pool (2.5.4)
128+
connection_pool (2.5.5)
129129
coveralls_reborn (0.25.0)
130130
simplecov (>= 0.18.1, < 0.22.0)
131131
term-ansicolor (~> 1.6)

spec/support/driver_registration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def self.register_selenium_chrome_headless
3333

3434
Capybara.register_driver :selenium_chrome_headless do |app|
3535
browser_options = ::Selenium::WebDriver::Chrome::Options.new
36-
browser_options.args << "--headless"
36+
browser_options.args << "--headless=new"
3737
browser_options.args << "--disable-gpu"
3838
browser_options.args << "--no-sandbox"
3939
browser_options.args << "--disable-dev-shm-usage"

0 commit comments

Comments
 (0)