Skip to content

Correctly emulate desktop in headless scenarios #6092

@paulirish

Description

@paulirish

When we're run in headless (LR) and we want the desktop experience, the viewport behavior is quite undefined, leading to screenshots that are cut off:
image

We think desktop "emulation" is the answer here. I've tried it out and everything looks more expected in headless:
image

TBH our driver & emulation code don't nicely account for this scenario, so it'll need some thought. @patrickhulce this seems up your alley. watcha thinkin?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions