You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python packages can define extras, which are additional optional parts of the package. more info here
it would be nice if playwright defined each browser as an optional extra, so that they can be installed like so:
pip install playwright[chromium,firefox]
Example
No response
Motivation
this prevents the user from having to manually run playwright install after installing all of their dependencies. in my project, we have an "install dependencies" script which basically just runs both poetry install and playwright install. it would be nice if we could just specify the browsers as extras in pyproject.toml so we don't need the additional script.
The text was updated successfully, but these errors were encountered:
Great! So, if a browser isn't specified, do you propose that nothing changes? For example, if the user installs Playwright as pip install playwright, then they will still have to use the playwright install script.
🚀 Feature Request
python packages can define extras, which are additional optional parts of the package. more info here
it would be nice if playwright defined each browser as an optional extra, so that they can be installed like so:
Example
No response
Motivation
this prevents the user from having to manually run
playwright install
after installing all of their dependencies. in my project, we have an "install dependencies" script which basically just runs bothpoetry install
andplaywright install
. it would be nice if we could just specify the browsers as extras inpyproject.toml
so we don't need the additional script.The text was updated successfully, but these errors were encountered: