Skip to content

Add human fallback example for page blockers#71

Open
human-pages-ai wants to merge 1 commit into
puppeteer:masterfrom
human-pages-ai:add-human-fallback
Open

Add human fallback example for page blockers#71
human-pages-ai wants to merge 1 commit into
puppeteer:masterfrom
human-pages-ai:add-human-fallback

Conversation

@human-pages-ai
Copy link
Copy Markdown

Summary

  • Adds human_fallback.js — a standalone example that detects page blockers (CAPTCHA, Cloudflare challenge, login wall, age gate) and falls back to hiring a real human via the Human Pages API to solve them, then resumes Puppeteer automation.
  • Follows existing repo conventions: Apache 2.0 header, CommonJS requires, env-var configuration.
  • Updates README.md to list the new example.

Links

🤖 Generated with Claude Code

Demonstrates a human-in-the-loop pattern: when Puppeteer encounters a
CAPTCHA, Cloudflare challenge, login wall, or age gate, the script posts
a job to the Human Pages API so a real person can solve it, then resumes
automation once the task is complete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 22, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@human-pages-ai
Copy link
Copy Markdown
Author

Disclosure: I'm a maintainer of Human Pages. Happy to adjust the example if there's anything you'd like changed to better fit the repo's conventions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant