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:
parent
1051ea810a
commit
9e5ffd2ccf
7 changed files with 18 additions and 14 deletions
|
|
@ -92,8 +92,7 @@ export class Connection {
|
|||
await new Promise<void>(resolve => {
|
||||
this.server.oninitialized = () => resolve();
|
||||
});
|
||||
if (this.server.getClientVersion()?.name.includes('cursor'))
|
||||
this.context.config.noImageResponses = true;
|
||||
this.context.clientVersion = this.server.getClientVersion();
|
||||
}
|
||||
|
||||
async close() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue