fix(cursor): allow enforcing images for cursor --image-responses=allow (#478)

Fixes https://github.com/microsoft/playwright-mcp/issues/449
This commit is contained in:
Pavel Feldman
2025-05-27 01:25:09 -07:00
committed by GitHub
parent 1051ea810a
commit 9e5ffd2ccf
7 changed files with 18 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ program
.option('--host <host>', 'host to bind server to. Default is localhost. Use 0.0.0.0 to bind to all interfaces.')
.option('--ignore-https-errors', 'ignore https errors')
.option('--isolated', 'keep the browser profile in memory, do not save it to disk.')
.option('--no-image-responses', 'do not send image responses to the client.')
.option('--image-responses <mode>', 'whether to send image responses to the client. Can be "allow", "omit", or "auto". Defaults to "auto", which sends images if the client can display them.')
.option('--no-sandbox', 'disable the sandbox for all process types that are normally sandboxed.')
.option('--output-dir <path>', 'path to the directory for output files.')
.option('--port <port>', 'port to listen on for SSE transport.')