Is your feature request related to a problem? Please describe.
Currently, we need to use two separate parameters to set viewport with scaling:
- --viewport=1920x1080 for dimensions
- --chrome-arg=--force-device-scale-factor=2 for zoom level
Describe the solution you'd like
Extend the --viewport parameter parsing to support an optional third value for deviceScaleFactor:
- Current format: 1920x1080 (width x height)
- Proposed format: 1920x1080x2 (width x height x deviceScaleFactor)
Describe alternatives you've considered
Use emulate tool after startup: Set deviceScaleFactor via the emulate tool
Additional context
No response
Is your feature request related to a problem? Please describe.
Currently, we need to use two separate parameters to set viewport with scaling:
Describe the solution you'd like
Extend the --viewport parameter parsing to support an optional third value for deviceScaleFactor:
Describe alternatives you've considered
Use emulate tool after startup: Set deviceScaleFactor via the emulate tool
Additional context
No response