import { chromium } from "playwright"; const b = await chromium.launch({ headless: true, args: ["--host-resolver-rules=MAP canvas.flow-master.ai 65.21.71.186", "--ignore-certificate-errors"] }); const p = await (await b.newContext()).newPage(); await p.goto("https://canvas.flow-master.ai/", { waitUntil: "networkidle" }); await p.waitForTimeout(1000); const chips = await p.locator(".persona-chip").allTextContents(); console.log("persona chips:", chips); // Click CEO chip → email field should fill await p.locator(".persona-chip", { hasText: /Mariana/ }).click().catch(() => {}); await p.waitForTimeout(300); const email = await p.locator("input[type='email']").inputValue(); console.log("after Mariana click, email field:", email); await b.close();