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
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -384,10 +384,10 @@ The Chrome DevTools MCP server supports the following configuration option:
384
384
-**Default:**`true`
385
385
386
386
-**`--screenshot-format`**
387
-
Default image format for screenshots. Options: png, jpeg, webp. Default is jpeg.
387
+
Default image format for screenshots. Options: png, jpeg, webp. Default is png.
388
388
-**Type:** string
389
389
-**Choices:**`png`, `jpeg`, `webp`
390
-
-**Default:**`jpeg`
390
+
-**Default:**`png`
391
391
392
392
<!-- END AUTO GENERATED OPTIONS -->
393
393
@@ -432,7 +432,7 @@ To get the WebSocket endpoint from a running Chrome instance, visit `http://127.
432
432
433
433
### Configuring default screenshot format
434
434
435
-
You can set a default image format for all screenshots using the `--screenshot-format` option. The default is JPEG. You can change it to PNG or WebP if needed:
435
+
You can set a default image format for all screenshots using the `--screenshot-format` option. The default is PNG. You can change it to JPEG or WebP if needed:
436
436
437
437
```json
438
438
{
@@ -441,7 +441,7 @@ You can set a default image format for all screenshots using the `--screenshot-f
441
441
"command": "npx",
442
442
"args": [
443
443
"chrome-devtools-mcp@latest",
444
-
"--screenshot-format=png"
444
+
"--screenshot-format=jpeg"
445
445
]
446
446
}
447
447
}
@@ -451,7 +451,10 @@ You can set a default image format for all screenshots using the `--screenshot-f
451
451
When configured, the `take_screenshot` tool will use this format by default unless explicitly overridden by passing a `format` parameter. Supported formats are `png`, `jpeg`, and `webp`.
452
452
453
453
> [!TIP]
454
-
> JPEG is the default format as it typically produces smaller file sizes than PNG, which improves performance when working with screenshots. WebP offers the best compression while maintaining quality. Use PNG if you need lossless screenshots.
454
+
> PNG is the default format as it provides lossless screenshots. JPEG typically produces smaller file sizes than PNG, which improves performance when working with screenshots. WebP offers the best compression while maintaining quality.
455
+
456
+
> [!NOTE]
457
+
> **Claude Code users**: If you experience issues with screenshots not displaying correctly, explicitly pass `jpeg` as the format parameter in all `take_screenshot()` calls until the issue is resolved on Claude Code's side. For example: `take_screenshot(format="jpeg")`.
455
458
456
459
You can also run `npx chrome-devtools-mcp@latest --help` to see all available configuration options.
0 commit comments