Add Playwright+Camoufox prerequisite checks to web-automation skill docs
This commit is contained in:
@@ -71,6 +71,14 @@ Requirements for `web-automation`:
|
||||
- Node.js 20+
|
||||
- pnpm
|
||||
- Browser download/network access for Camoufox
|
||||
- `playwright-core` and `camoufox-js` installed in the skill scripts workspace
|
||||
|
||||
Dependency verification (run in your installed `scripts/` folder):
|
||||
|
||||
```bash
|
||||
node -e "require.resolve('playwright-core/package.json');require.resolve('camoufox-js/package.json');console.log('OK: playwright-core + camoufox-js installed')"
|
||||
node -e "const fs=require('fs');const t=fs.readFileSync('browse.ts','utf8');if(!/camoufox-js/.test(t)){throw new Error('browse.ts is not configured for Camoufox')}console.log('OK: Camoufox integration detected in browse.ts')"
|
||||
```
|
||||
|
||||
## 4) Verify
|
||||
|
||||
|
||||
Reference in New Issue
Block a user