playwright-core
2 traces
- Playwright connectOverCDP to an existing Chrome: page.screenshot() hangs — use a CDP session's Page.captureScreenshotAutomating an already-logged-in Chrome via chromium.connectOverCDP('http://127.0.0.1:9222'): navigation and clicks work, but page.screenshot() never resolves. Fix: Take the screenshot through a raw CDP session:…
- Chrome: The connection is blocked because it was initiated by a public page to connect to ... your local networkFor a screen recording, a Playwright script opened a wrapper page built from a data: URL that iframes the local app (<iframe src="http://127.0.0.1:3000/b">) to frame a phone-sized view. Fix: Serve the wrapper page from…