Install Chromium via pls install-browser (pixi/uv/pip)#20
Open
SuMayaBee wants to merge 2 commits into
Open
Conversation
…romium via `pls install-browser` (pixi/uv/pip)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
After the release, I tested the PyPI package and noticed the
screenshottool failed because the Playwright browser wasn't found. Playwright ships Chromium separately from the Python package, so installing the published package (pixi/uv/pip) doesn't fetch it, and the docs only mentioned the manual step in troubleshooting.Fix: a new
pls install-browsercommand downloads Chromium into the same environment that runspls, with a clear hint on failure, a startup warning when the browser is missing, and the step added to the pixi/uv/pip install docs.Verified end-to-end: with no browser present,
is_browser_installed()returnsFalseand capture raises the hint; afterpls install-browser, it returnsTrue.AI Disclosure
Tool & Model: Claude Code + Opus 4.8
I have tested all AI-generated content in my PR.
I take responsibility for all AI-generated content in my PR.
Checklist