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:
Created with playwright-cli screenshot e362:
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?
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_Pagesession:Created with macOS screenshot shortcut:
Created with
playwright-cli screenshot e362: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?