Skip to content

Speed up CI by installing only Playwright chromium-headless-shell#2916

Merged
EwoutH merged 1 commit intomainfrom
ci_playwright_install
Dec 3, 2025
Merged

Speed up CI by installing only Playwright chromium-headless-shell#2916
EwoutH merged 1 commit intomainfrom
ci_playwright_install

Conversation

@EwoutH
Copy link
Copy Markdown
Member

@EwoutH EwoutH commented Dec 3, 2025

Replace playwright install with playwright install chromium-headless-shell to download only the minimal headless Chromium (~105 MiB) instead of all browsers (~470 MiB). Since pytest-playwright defaults to Chromium and our tests run headless, we don't need Firefox, WebKit, or the full Chromium browser.

Also speeds up Playwright install time from 12-20 seconds to 3-6.

@EwoutH EwoutH added the ci Release notes label label Dec 3, 2025
Replace `playwright install` with `playwright install chromium-headless-shell` to download only the minimal headless Chromium (~105 MiB) instead of all browsers (~470 MiB). Since pytest-playwright defaults to Chromium and our tests run headless, we don't need Firefox, WebKit, or the full Chromium browser.
@EwoutH EwoutH force-pushed the ci_playwright_install branch from 88d99fe to f832a24 Compare December 3, 2025 13:25
@EwoutH EwoutH changed the title Speed up CI by installing only Chromium for Playwright Speed up CI by installing only Playwright chromium-headless-shell Dec 3, 2025
@EwoutH EwoutH merged commit 571ba25 into main Dec 3, 2025
11 of 12 checks passed
@EwoutH EwoutH deleted the ci_playwright_install branch January 23, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Release notes label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant