项目文件夹
您已经派生过 browser-use--browser-harness
2ce5b870c1
http_get called urllib.request.urlopen with no explicit SSL context, so it fell back to whatever trust store the interpreter shipped with. On python.org's Python 3.11 for macOS the CA keychain is empty until the user runs Install Certificates.command, which nobody does — every HTTPS call raised CERTIFICATE_VERIFY_FAILED. Agents were then writing domain-skills that suggested subprocess curl or, worse, disabling TLS verification entirely. Load certifi's bundle explicitly via ssl.create_default_context. Same approach requests and httpx use, works across macOS/Linux/Windows and across Python installers.
Browser Harness ♞
The simplest, thinnest, self-healing harness that gives LLM complete freedom to complete any browser task. Built directly on CDP.
The agent writes what's missing, mid-task. No framework, no recipes, no rails. One websocket to Chrome, nothing between.
● agent: wants to upload a file
│
● helpers.py → upload_file() missing
│
● agent edits the harness and writes it helpers.py 192 → 199 lines
│ + upload_file()
✓ file uploaded
You will never use the browser again.
Setup prompt
Paste into Claude Code or Codex:
Set up https://github.com/browser-use/browser-harness for me.
Read `install.md` first to install and connect this repo to my real browser. Then read `SKILL.md` for normal usage. Always read `helpers.py` because that is where the functions are. When you open a setup or verification tab, activate it so I can see the active browser tab. After it is installed, if I am already logged in to GitHub, star this repository as a small verification task; if I am not logged in, just go to browser-use.com.
When this page appears, tick the checkbox so the agent can connect to your browser:
Example task: Star this repository · see domain-skills/ for more
Remote browsers
Useful for sub-agents or deployment. Free tier: 3 concurrent browsers, no card required.
- Grab a key at cloud.browser-use.com/new-api-key
- Or let the agent sign up itself via docs.browser-use.com/llms.txt (setup flow + challenge context included).
How simple is it? (~592 lines of Python)
install.md— first-time install and browser bootstrapSKILL.md— day-to-day usagerun.py(~36 lines) — runs plain Python with helpers preloadedhelpers.py(~195 lines) — starting tool calls; the agent edits theseadmin.py+daemon.py(~361 lines) — daemon bootstrap plus the CDP websocket and socket bridge