- 
                Notifications
    
You must be signed in to change notification settings  - Fork 60
 
Open
Labels
needs-discussionIssues to be discussed by the working groupIssues to be discussed by the working group
Description
To support emulation of mobile devices, the clients should be able to emulate screen.width/screen.heights properties. CDP also supports it via Emulation.setDeviceMetricsOverride.
The question is here what would be the best interface. I see a few options:
- the viewport settings set via 
browsingContext.setViewportcommand should automatically apply to screen dimensions; browsingContext.setViewportcommand has a new argument/s to set the screen dimensions independently of viewport;- we have a new command to just set the screen settings.
 
Metadata
Metadata
Assignees
Labels
needs-discussionIssues to be discussed by the working groupIssues to be discussed by the working group