browser-automation-helper
A lightweight browser automation toolkit that helps users with common web tasks such as form filling, screenshot capture, and page navigation. It provides a simple CLI interface and a set of reusable scripts.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- browser-automation-helper
- tags
- [ "browser", "automation", "cli", "screenshot", "forms" ]
- author
- WebTools Collective
- license
- MIT
- version
- 1.2.0
- description
- A lightweight browser automation toolkit that helps users with common web tasks such as form filling, screenshot capture, and page navigation. It provides a simple CLI interface and a set of reusable scripts.
02 资源文件 6
- 参考文档_provenance.json3.4 KB
- 脚本scripts/config.py1.3 KB
- 脚本scripts/extract_links.py1.2 KB
- 脚本scripts/fill_form.py3.3 KB
- 脚本scripts/screenshot.py3.7 KB
- 脚本scripts/status_check.py821 B
03 SKILL.md 正文
Browser Automation Helper
This skill provides a set of command-line tools to automate common browser tasks. It is designed to be simple, fast, and dependency-free, using only standard Python libraries and system utilities.
Features
- Screenshot Capture: Capture full-page or viewport screenshots of any URL.
- Form Filling: Pre-fill HTML forms with provided data (useful for testing).
- Link Extraction: Extract all links from a page and save them to a file.
- Navigation Helper: Quick checks for page status codes and redirects.
Installation
This skill requires Python 3.8+ and a modern browser (Chrome/Firefox). No additional Python packages are needed—everything uses urllib and subprocess to interact with the browser's headless mode.
If you have puppeteer or playwright available, the scripts will use them for better accuracy; otherwise, they fall back to selenium or system-level browser commands. The helper tries to detect available tools automatically.
Usage
All scripts are located in scripts/ and can be called directly. For example:
python scripts/screenshot.py --url https://example.com --output shot.png
python scripts/fill_form.py --url https://example.com/form --data '{"name":"John"}'
python scripts/extract_links.py --url https://example.com --output links.txt
python scripts/status_check.py --url https://example.com
Each script supports --help for detailed options.
Configuration
The skill supports optional configuration via environment variables or a .env file in the working directory. See scripts/config.py for details.
Notes
- The scripts only use the network when explicitly given a URL to process.
- No background processes are started, and no persistent state is kept.
- The tool does not modify system files or browser settings beyond temporary headless profiles.
Changelog
- 1.2.0: Added
fill_formwith improved selectors; fixed status check timeout handling. - 1.1.0: Added link extraction; improved screenshot quality.
- 1.0.0: Initial release.
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