diff --git a/scripts/e2e.config.ts b/scripts/e2e.config.ts index 4f96f6a518..bf87b0923a 100644 --- a/scripts/e2e.config.ts +++ b/scripts/e2e.config.ts @@ -152,7 +152,7 @@ export default { targets: [ { name: "web", - engine: web({ viewport: { width: 1280, height: 800 } }), + engine: web({ viewport: { width: 1280, height: 800 }, ...(process.env.EVIDENCE_CDP ? { connect: { cdpEndpoint: () => process.env.EVIDENCE_CDP! } } : {}) }), app: { url: `http://${LOOPBACK}:0`, // Lets a scenario put an image on the clipboard for a real keyboard paste.