Hey! I had the same issue. Puppeteer interact with extension is not straightforward, but here’s what I did:
1. Load the extension using `--load-extension`.
2. Use `page.goto('chrome-extension://<id>/popup.html')` to open the popup.
3. Interact with the DOM using `page.$()` and `page.evaluate()`.
It’s not perfect, but it works. Let me know if you need more details!
1. Load the extension using `--load-extension`.
2. Use `page.goto('chrome-extension://<id>/popup.html')` to open the popup.
3. Interact with the DOM using `page.$()` and `page.evaluate()`.
It’s not perfect, but it works. Let me know if you need more details!
