You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
options
--vp_width
and--vp_height
would come in handy to be able to set the size of the screencast usingviewport
, a browser context option coming withplaywright
.playwright
sviewport
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.
The text was updated successfully, but these errors were encountered: