How can I use Puppeteer to interact with a browser extension effectively?

20 Replies, 1921 Views

Hey! Puppeteer interact with extension is tough, but I managed to get it working by loading the extension and then using `page.evaluate()` to simulate clicks on the extension UI.

For popups, try this:
`await page.goto('chrome-extension://<ID>/popup.html')`
Then interact with the DOM.

Also, this blog post helped me: [Puppeteer Extensions Guide](https://example.com). Hope it helps!

Messages In This Thread



Users browsing this thread: 1 Guest(s)