Skip to content

[test-runner-*] support for browser context properties #365

@LarsDenBakker

Description

@LarsDenBakker

With test runner commands we allow setting certain browser properties, such as the window size or emulating media queries. However we are not able to change a lot of properties on the fly, for example touch support or the user agent on playwright. You can see a full list of all supported context properties here: https://playwright.dev/#version=v1.3.0&path=docs%2Fapi.md&q=browsernewcontextoptions

To support this we need a way to specify these properties separately from the test file, since they need to be configured before the page is created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions