Skip to content

Commit

Permalink
fix: chrome webdriver crashing when running on macos-latest runner
Browse files Browse the repository at this point in the history
The chrome webdriver is crashing with:
 V8 process OOM (Failed to reserve virtual memory for CodeRange)

Upgrading the the latest Chrome (currently 134.0.6962.0) resolves
the crash.
  • Loading branch information
typfel committed Jan 20, 2025
1 parent 2091ed7 commit f85f214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- uses: browser-actions/setup-chrome@latest
id: setup-chrome
with:
chrome-version: stable
chrome-version: latest
- run: |
echo "CHROME_PATH=${{ steps.setup-chrome.outputs.chrome-path }}" >> $GITHUB_ENV
- uses: oven-sh/setup-bun@v2
Expand Down
2 changes: 1 addition & 1 deletion extras/webdriver-installation/src/webdriver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl WebdriverKind {
.take()
.unwrap()
.channels
.remove(&ChromeDriverReleaseDetailsChannel::Stable)
.remove(&ChromeDriverReleaseDetailsChannel::Canary)
.unwrap();

let download_url = channel
Expand Down

0 comments on commit f85f214

Please sign in to comment.