Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
LarsDenBakker opened this issue Aug 15, 2020 · 0 comments
Open

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

LarsDenBakker opened this issue Aug 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@LarsDenBakker
Copy link
Member

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant