Skip to content

[Feature]: Add Support for specifying settings in pyproject.toml #2715

Open
@aersam

Description

🚀 Feature Request

There are settings that cannot be changed in Python (or, I did not find out, how). Eg, how to set video.size that you can do in TypeScript: https://playwright.dev/docs/api/class-testoptions/#test-options-video

It would be best to have that available in pyproject.toml, similar to pyright or other tools

Example

[tool.playwright.options]
video = { mode= "on", size= {height=1900, width=1080 }}

Motivation

Make all options available in a pythonic way

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions