Skip to content

[Feature] Playwright should be able to install browser binaries from poetry install (Python) #1322

Open
@dil-gfischhof

Description

@dil-gfischhof

Playwright should be able to install browser binaries from poetry install (Python)
(Specially related to CI systems)

Hi Folks,

Two things to start my feature request with:
1.)
Poetry is practically the new way of Python package management
2.)
Installing project dependencies is practically the responsibility of the project (yes, the borders are flexible...)

So I have the following situation:
we have a project which needs in-browser testing, and API testing, perhaps someone will need other (performance etc) testing, which does not require browser.

Right now we use Poetry (Python) to install dependencies, it installs Playwright, but is not able to tell Playwright to install browsers binaries.

So now we have to setup our CI to install browser binaries, but the other CI jobs do not need that, so installing is just waste of time and space.
But it would be good to have only one type of test job in CI: install project dependencies, and start testing. And if the project needs browser then it should install it automatically.

BR,
George

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