Scripts2026年7月13日·1 分钟阅读

Camofox — Stealth Headless Browser for AI Agent Automation

A drop-in Puppeteer and Playwright replacement that bypasses Cloudflare, bot detection, and anti-scraping measures, enabling reliable browser automation for AI agents.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Camofox
直接安装命令
npx -y tokrepo@latest install d7949c07-7e50-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Camofox is a stealth headless browser built specifically for AI agent pipelines that need reliable web access. It patches browser fingerprints and bypasses common anti-bot systems like Cloudflare Turnstile, making it a drop-in replacement for standard Puppeteer or Playwright when sites block automated browsers.

What Camofox Does

  • Launches a fingerprint-patched browser that passes bot detection checks
  • Provides a Puppeteer-compatible API for minimal migration effort
  • Bypasses Cloudflare, DataDome, and similar anti-scraping services
  • Manages browser profiles and cookies across sessions
  • Supports concurrent pages with independent fingerprint contexts

Architecture Overview

Camofox wraps a modified Firefox build with custom patches to WebGL, Canvas, AudioContext, and navigator properties. It randomizes fingerprint vectors per session while maintaining internal consistency. The Node.js API layer speaks the same protocol as Puppeteer, so existing scripts work with a single import change.

Self-Hosting & Configuration

  • Install via npm; browser binary downloads automatically
  • Configure proxy settings via launch options for IP rotation
  • Persist sessions with user data directories for cookie management
  • Set custom viewport, timezone, and locale per browser context
  • Docker image available for containerized deployments

Key Features

  • Passes major bot detection services without manual CAPTCHA solving
  • Puppeteer-compatible API minimizes migration effort
  • Per-context fingerprint randomization prevents correlation
  • Built-in retry logic for transient network failures
  • Headful mode available for debugging automation scripts

Comparison with Similar Tools

  • Puppeteer/Playwright — detected by most anti-bot services vs undetected by default
  • undetected-chromedriver — Python-only and Chrome-based vs Node.js with Firefox stealth
  • Browserless — cloud-hosted vs self-hosted with no per-request fees
  • Selenium — legacy WebDriver protocol vs modern CDP with stealth patches
  • Browser Use — AI-driven navigation vs programmatic control with stealth focus

FAQ

Q: Is this legal to use? A: Camofox is a browser automation tool. Legality depends on your use case and the target site's terms of service.

Q: Does it work with Playwright scripts? A: It provides a Puppeteer-compatible API. Playwright scripts need minor adapter changes.

Q: How does it handle CAPTCHAs? A: It avoids triggering CAPTCHAs through fingerprint stealth rather than solving them.

Q: Can I run multiple concurrent sessions? A: Yes, each browser context gets an independent fingerprint and can run in parallel.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产