Skip to content

feature request: options "width" and "height" #56

@bee-mois

Description

@bee-mois

options --vp_width and --vp_height would come in handy to be able to set the size of the screencast using viewport, a browser context option coming with playwright.

playwrights viewport default is 1280x720 of width x height.

my usecase needs 1024x1280.

an implementation of two new options --vp_width and --vp_height would be perfect.

it would also be fine with a single option --viewport that takes an integer as input which points to an element of a list of common screen resolutions, like:

[0] 1280x720 (landscape, default)
[1] 720x1280 (portrait)
[2] 1280x1024 (landscape)
[3] 1024x1280 (portrait)
[4] 1680x1050 (landscape)
[5] 1050x1680 (portrait)
[6] 1920x1080 (landscape)
[7] 1080x1920 (portrait)
and so on.

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