Open
Description
Describe the bug
When using the puppeteer-extra-plugin-recaptcha
plugin, calling puppeteer.connect()
hangs forever and never resolves the promise. In our case, when attempting to connect to a running browser instance via a remote debugging URL (e.g., http://localhost:9222
), the connection never completes. Without the recaptcha plugin enabled, the connection works as expected.
Steps to Reproduce
- Ensure you have a Chrome instance running with remote debugging enabled on port 9222.
- Enable the recaptcha plugin by including it in your puppeteer-extra configuration.
- Attempt to connect to the browser using:
const browser = await puppeteer.connect({ browserURL: 'http://localhost:9222' });
- Observe that the promise returned by puppeteer.connect() never resolves, causing the script to hang indefinitely.
Versions:
"puppeteer": "^24.2.1",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-recaptcha": "^3.6.8",