From 1d3be22b9d6553f7fd17afd56d535a011b5fbc54 Mon Sep 17 00:00:00 2001 From: Alex Tumanov Date: Sun, 28 Jun 2026 12:07:37 -0500 Subject: [PATCH 1/2] docs(cli): document high-resolution screenshots --- docs/src/getting-started-cli.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/getting-started-cli.md b/docs/src/getting-started-cli.md index 5b6d18f23bd65..b28f9b68c8716 100644 --- a/docs/src/getting-started-cli.md +++ b/docs/src/getting-started-cli.md @@ -130,6 +130,7 @@ playwright-cli snapshot --filename=f # save snapshot to specific file playwright-cli screenshot # screenshot of the current page playwright-cli screenshot [ref] # screenshot of a specific element playwright-cli screenshot --filename=f # save with specific filename +playwright-cli screenshot --hires # capture using device pixels playwright-cli pdf # save page as PDF ``` From 07f54505d1753639b255a8ac330e12f69f06f735 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 29 Jun 2026 10:41:32 +0200 Subject: [PATCH 2/2] Apply suggestion from @Skn0tt Signed-off-by: Simon Knott --- docs/src/getting-started-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/getting-started-cli.md b/docs/src/getting-started-cli.md index b28f9b68c8716..eacfa477e3e8b 100644 --- a/docs/src/getting-started-cli.md +++ b/docs/src/getting-started-cli.md @@ -130,7 +130,7 @@ playwright-cli snapshot --filename=f # save snapshot to specific file playwright-cli screenshot # screenshot of the current page playwright-cli screenshot [ref] # screenshot of a specific element playwright-cli screenshot --filename=f # save with specific filename -playwright-cli screenshot --hires # capture using device pixels +playwright-cli screenshot --hires # capture using device pixels playwright-cli pdf # save page as PDF ```