Crawl and search
Crawl
browsers crawl https://example.com --max-pages 5 -p playwright
[provider=playwright] Crawled 1 pages.
--- https://example.com (Example Domain)
This domain is for use in documentation examples without needing permission. …
A crawl follows links from one page. It takes ten pages unless you set --max-pages. Depth follows the provider's default. Playwright goes two links deep in your Chromium. Cloudflare and Hyperbrowser use their own defaults. They start a job on their side and poll it.
A slow crawl keeps its job
A big site takes a while, and a tool call can't wait forever. Cloudflare and Hyperbrowser get two minutes. A job still running after that doesn't turn into a timeout, it comes back with its ID:
[provider=cloudflare] Crawled 0 pages.
Job ID: 5b1f… (status: running)
The job is still running. Call browsers_crawl with this jobId and provider cloudflare to wait for it again.
Pass that jobId back, with the same provider (and the same browser if you used Kitesurf), and without url. It waits for the same job. No second crawl, no second bill. In the CLI that's --job-id:
browsers crawl --job-id <job-id> -p cloudflare
A job ID belongs to the provider that made it, so naming the provider isn't optional there. Picking one on its own, the package could land on a provider that has never heard of your job.
Cancelling a crawl
Giving up on a crawl? Don't leave Cloudflare doing the rounds. If this call started the job, aborting sends Cloudflare a cancellation request. Cloudflare marks it cancelled and drops its queued URLs.
Playwright closes the Chromium it launched, dropping the page's request. Hyperbrowser has no endpoint to stop the job, so it runs out on its own. A crawl nobody's waiting for still has pages to visit.
A resumed job is different. Its ID already belongs to you, so aborting only ends the wait. The job is never cancelled.
Shared budget
For a model, every page's text shares one maxChars, 20 000 by default. Ten pages don't get 20 000 each. That's deliberate. A crawl is the easiest way to drown a context window, and this one can't.
Search
browsers search "browser automation"
Awesome Browser Automation - GitHub
https://github.com/angrykoala/awesome-browser-automation
A curated list of awesome browser automation tools and resources. …
Hyperbrowser is the one with a search route, so search goes there. Title, URL and a snippet per result. It's a web search that happens to live in a browser package, and it's handy exactly when a model needs a URL before it can scrape one.