-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Clear and concise description of the problem
Hello,
Playwright exports device configurations that contain viewports, user agent touch and so on: https://playwright.dev/docs/emulation
It would be nice to use these in a vitest configuration directly.
Suggested solution
- Export devices directly from
vitest-browser-playwright. - Allow to use a device as instance in the configuration
Alternative
Provide examples/documentation how to simulate capabilities like touch
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.