File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,14 @@ export PLAYWRIGHT_SKIP_BROWSER_GC=1
99
1010pushd bundle/
1111
12- # Install all browsers with mac13 platform override
13- PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=mac13 npx playwright install
14- PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=mac13 npx playwright install-deps
12+ # Install browsers for all supported macOS platforms.
13+ # Each platform may have different browser binary directory structures
14+ # (e.g., Chromium uses chrome-mac/ on mac13 vs chrome-mac-arm64/ on mac14/mac15).
15+ # Installing for each platform ensures the correct binaries are available at runtime.
16+ for platform in mac13 mac14 mac15; do
17+ PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=$platform npx playwright install
18+ PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=$platform npx playwright install-deps
19+ done
1520npx playwright --version
1621
1722popd
You can’t perform that action at this time.
0 commit comments