10000 [Feature]: support installing browsers as extras · Issue #2502 · microsoft/playwright-python · GitHub
[go: up one dir, main page]

Skip to content
[Feature]: support installing browsers as extras #2502
Open
@DetachHead

Description

@DetachHead

🚀 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:

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0