Skip to content
BrowserCashPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

Repository files navigation

Driver docs

Documentation for docs.driver.dev, written from scratch on 2026-09-17. Mintlify project: docs.json is the navigation and theme, docs/** the guides, api-reference/ the generated reference.

Principles

  • The live API document is the ground truth. api-reference/openapi.json is produced by npm run sync from https://api.driver.dev/doc (what Scalar renders at /scalar). Guides describe options that exist there; nothing else. When the API changes, run the sync and fix the guides that mention the changed field.
  • Written for engineers and agents alike. Short pages, one job each, a table of options with defaults, one example per language, and a "For agents" page plus llms.txt (generated by Mintlify) that state the rules outright.
  • Patchright is the recommended client. Every framework page says why, and the stock Playwright and Puppeteer pages carry the warning.
  • Best practices stay. docs/start/best-practices.mdx carries the CDP-hygiene guidance forward.

Deprecated surface

The teracrawl scrape/search endpoints and the consumer_distributed browser type are deprecated and deliberately absent: scripts/sync-openapi.mjs drops them from the generated reference, and no guide mentions them.

Working on it

npm install          # Mintlify CLI
npm run sync         # refresh api-reference/openapi.json from the live API
npm run dev          # http://localhost:3000
npm run check        # broken links (reports every link as broken on Windows; a CLI path bug, not the docs)
npm run countries    # regenerate docs/options/countries.mdx from scripts/data/ (the gateway's locale catalog)

Old URLs redirect to their new homes (see redirects in docs.json), so links from the dashboard and the landing page keep working.

Battle-tested

On 2026-09-19 five fresh agents (Node, Python, REST-only, framework migration, coding-agent handoff) integrated Driver from this folder alone and reported every gap; the fixes are in the git history of that day. Re-run the exercise after big changes: the reports live in the dashboard repo's docs/STATUS-LOG.md entry for that date. scripts/sync-openapi.mjs also corrects four things the generator gets wrong (duration bound, negative balances, PATCH 400, branding); keep those corrections when the source changes.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

Generated from mintlify/starter