Skip to main content
Crawl4AI turns pages into LLM-ready Markdown. Configure it to attach to a Driver session instead of launching its own browser.
Python

Notes

  • browser_mode="custom" with cdp_url attaches Crawl4AI to the browser you give it. use_managed_browser=True makes it drive that browser over CDP instead of through a Playwright launch. Leaving the async with block closes Crawl4AI’s connection only; the session runs until you stop it.
  • Crawl4AI is Playwright underneath and injects its own scripts, so it carries the stock-Playwright fingerprint. Use it on sites that don’t challenge automation.
  • Pin the crawl4ai version you tested with. Its post-install step downloads a browser you won’t use. Harmless.
  • Crawl several URLs in one session. Creating the session is the expensive step.