Skip to content

Commit 3871415

Browse files
committed
chore(cli): drop webp/macOS note from screenshot --type help
1 parent 71414c3 commit 3871415

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/playwright-core/src/tools/cli-daemon

packages/playwright-core/src/tools/cli-daemon/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ const screenshot = declareCommand({
790790
}),
791791
options: z.object({
792792
filename: z.string().optional().describe('File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg|webp}` if not specified.'),
793-
type: z.enum(['png', 'jpeg', 'webp']).optional().describe('Image format. If unset, inferred from the filename extension, otherwise png. webp is not supported in WebKit on macOS.'),
793+
type: z.enum(['png', 'jpeg', 'webp']).optional().describe('Image format. If unset, inferred from the filename extension, otherwise png.'),
794794
['full-page']: z.boolean().optional().describe('When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport.'),
795795
}),
796796
toolName: 'browser_take_screenshot',

0 commit comments

Comments
 (0)