Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] puppeteer-extra-plugin-recaptcha causes puppeteer.connect() to hang indefinitely #917

Open
boemekeld opened this issue Feb 22, 2025 · 0 comments
Labels
issue: bug report A bug has been reported needs triage

Comments

@boemekeld
Copy link

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

  1. Ensure you have a Chrome instance running with remote debugging enabled on port 9222.
  2. Enable the recaptcha plugin by including it in your puppeteer-extra configuration.
  3. Attempt to connect to the browser using:
    const browser = await puppeteer.connect({ browserURL: 'http://localhost:9222' });
  4. 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",

@boemekeld boemekeld added issue: bug report A bug has been reported needs triage labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug report A bug has been reported needs triage
Projects
None yet
Development

No branches or pull requests

1 participant