Skip to content

High resolution screenshots #376

Description

I'm trying to automate creating screenshots for documentation, but I have an issue with getting the right resolution. Below are two screenshots of the same playwright-cli open --headed https://en.wikipedia.org/wiki/Main_Page session:

Created with macOS screenshot shortcut:

Image

Created with playwright-cli screenshot e362:

Image

As you can see the macOS screenshot is higher quality, in fact it is double the resolution.

I find no way of controlling the resolution of screenshots with playwright-cli, is it possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions