How can I use Puppeteer to interact with a Chrome extension in my tests? or Best way to interact with

18 Replies, 1542 Views

Yup, it’s possible! But messy.

I had to combine `--load-extension` with manually navigating to the extension’s HTML pages (like popup.html).

Biggest hurdle? Permissions. If your extension needs tabs perms, you’ll need extra flags.

For SEO folks: puppeteer interact with extension is totally doable, just not well-documented.

Messages In This Thread



Users browsing this thread: 1 Guest(s)