Skip to content

fix: set CHROME_BIN for Chrome in CI#44

Merged
sonesuke merged 4 commits intomainfrom
fix/ci-chrome-path
Feb 23, 2026
Merged

fix: set CHROME_BIN for Chrome in CI#44
sonesuke merged 4 commits intomainfrom
fix/ci-chrome-path

Conversation

@sonesuke
Copy link
Owner

Fix CI Chrome path issue

Chrome is installed by browser-actions/setup-chrome at /opt/hostedtoolcache/setup-chrome/chromium/*/x64/chrome, but the code was looking for /usr/bin/google-chrome.

This PR sets CHROME_BIN to the correct path so tests can find Chrome in CI.

- Remove unnecessary Chrome setup steps (ubuntu-latest has Chrome pre-installed)
- Remove CHROME_BIN environment variable setup
- Remove SKIP_BROWSER_TESTS (browser tests should run)
- Revert browser.rs --no-sandbox changes

This restores the CI configuration that was working in commit 7ba3223 (v0.1.0).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add Chrome setup step that verifies Chrome/Chromium existence
- Create config file with browser_path pointing to pre-installed Chrome
- Increase Chrome startup timeout from 10s to 30s for slower CI environments
- Update troubleshooting message to suggest using config command

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@sonesuke sonesuke merged commit 694e9ad into main Feb 23, 2026
4 checks passed
@sonesuke sonesuke deleted the fix/ci-chrome-path branch February 23, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants