Document native build step for web-automation setup

This commit is contained in:
Stefano Fiorini
2026-03-08 21:06:57 -05:00
parent 3e611621d6
commit 6c12b74cca
2 changed files with 23 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ Automated web browsing and scraping using Playwright with Camoufox anti-detectio
cd ~/.openclaw/workspace/skills/web-automation/scripts
pnpm install
npx camoufox-js fetch
pnpm approve-builds
pnpm rebuild better-sqlite3 esbuild
```
## Prerequisite Check (MANDATORY)
@@ -35,6 +37,14 @@ If any check fails, stop and return:
"Missing dependency/config: web-automation requires `playwright-core` + `camoufox-js` and Camoufox-based scripts. Run setup in this skill, then retry."
If runtime fails with missing native bindings for `better-sqlite3` or `esbuild`, run:
```bash
cd ~/.openclaw/workspace/skills/web-automation/scripts
pnpm approve-builds
pnpm rebuild better-sqlite3 esbuild
```
## Quick Reference
- Browse page: `npx tsx browse.ts --url "https://example.com"`