2.6k
GitHub Stars
8
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill browser-auto-download- _meta.json295 B
- CHANGELOG.md2.6 KB
- CONTRIBUTING.md5.2 KB
- package.json1.4 KB
- QUICKSTART.md5.1 KB
- README.md9.6 KB
- SKILL.md7.5 KB
- USER_GUIDE.md2.1 KB
Overview
This skill automates downloads from dynamic, client-rendered web pages by driving a headless or visible browser. It auto-detects the user platform, captures downloads triggered on page load, and falls back to navigation and button-click strategies for multi-step flows. It is optimized for cases where curl/wget fail due to JavaScript, redirects, or lazy-loaded content. Golang and Python integration points are supported for scripting and automation.
How this skill works
The skill launches a Playwright browser, opens the target URL, and listens for download events during page load. If no automatic download occurs, it searches for platform-specific links (e.g., desktop or Windows pages) and navigates there. As a final fallback it tries multiple CSS selectors to click download buttons, with optional scrolling and extended wait times to handle lazy content. Results are returned as JSON with file path, filename, size, and detected platform.
When to use it
- Sites that trigger downloads automatically when a page loads
- Multi-step flows that require navigating from homepage to a platform-specific download page
- Downloads generated or revealed by client-side JavaScript
- Interactive download flows that require clicking buttons or opening modals
- When curl/wget fail due to rendering, redirects, or dynamic content
Best practices
- Run with visible browser during initial troubleshooting to observe navigation and interactions
- Enable platform auto-detection for correct binary selection; disable if site misidentifies your system
- Use explicit selectors when auto-detection fails to ensure correct button clicks
- Allow extended wait times for large files or slow servers (up to a few minutes)
- Check write permissions and disk space in the configured download directory
Example use cases
- Downloading installer for a desktop app that only appears after clicking a "Desktop" link
- Capturing an automatic installer delivery triggered on first page load
- Automating large or slow downloads where the site uses JavaScript to generate the file URL
- Batch processing multiple product pages that each require different navigation steps
- Integrating into a CI script to fetch platform-specific tooling before builds
FAQ
No. Use curl/wget for direct file URLs. This skill is for pages that need rendering, navigation, or event capture.
How does platform detection work?
It inspects system OS and architecture and matches keywords to choose the correct download path; you can disable auto-selection and provide custom selectors.
What if the download never starts?
Run with a visible browser, enable verbose stderr, try manual selector options, or disable auto-navigation to isolate the issue.