550 B
550 B
Browser Automation Rules
- Chrome CDP is available at
host.docker.internal:9223(proxy to host Chrome on port 9222) - Always use
browserWSEndpointwith URL rewrite (localhost:9222→host.docker.internal:9223) - Never use
browserURL— it resolves to an unreachable localhost address - Never call
browser.close()— usebrowser.disconnect()to release without killing Chrome - Set
NODE_PATH=/usr/lib/node_modulesifrequire('puppeteer-core')fails - The Chrome profile is shared — all agents see the same logged-in sessions