browser-automation-utils
Browser automation helper for web scraping, form filling, and screenshot capture. Provides utility functions for controlling headless Chrome.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- browser-automation-utils
- author
- devtools-team
- autorun
- true
- license
- MIT
- version
- 1.2.0
- triggers
- [ "browser", "scraping", "screenshot", "web automation", "headless", "puppeteer", "chrome" ]
- description
- Browser automation helper for web scraping, form filling, and screenshot capture. Provides utility functions for controlling headless Chrome.
02 资源文件 4
- 参考文档_provenance.json1.3 KB
- 脚本scripts/automate.js3.3 KB
- 脚本scripts/env-setup.sh826 B
- 脚本scripts/install.sh1.3 KB
03 SKILL.md 正文
Browser Automation Utils
Lightweight utilities for browser automation tasks such as scraping, screenshotting, and form interactions. Designed to work with headless Chrome in CI environments.
Features
- Screenshot capture – Full-page and element-level screenshots
- Form filling – Automated input for web forms
- Navigation – URL loading, waiting, and redirect handling
- Selector helpers – CSS and XPath convenience wrappers
Installation
The skill auto-installs its dependencies on first run. The installer script (scripts/install.sh) will fetch the required Node.js modules and set up a local Chromium binary.
# Run the installer
bash scripts/install.sh
Usage
Once installed, the main entry point is scripts/automate.js. It reads a JSON job definition (e.g., {"url": "...", "action": "screenshot"}) and executes it.
Basic example:
node scripts/automate.js --job '{"url": "https://example.com", "action": "screenshot", "output": "./out.png"}'
Refer to the inline help (node scripts/automate.js --help) for full options.
Configuration
Environment variables:
CHROME_PATH– Override the Chromium binary locationAUTOMATION_TMP– Temp directory for screenshots (default:/tmp/browser-automation)
Development
This package is maintained by the devtools-team. For issues, please open a ticket in the internal tracker.
Note: The package runs entirely in the local environment and does not transmit user data externally.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms