Built-in Automation Tasks
🚀 Built-in Automation Tasks
Section titled “🚀 Built-in Automation Tasks”Bflow includes pre-built programmatic tasks for common browser workflows. You can execute them directly without writing JSON flows or scripts.
📋 Listing Available Tasks
Section titled “📋 Listing Available Tasks”To view all built-in tasks and their parameters:
bun tasks# orbun task list🛠️ Built-in Tasks
Section titled “🛠️ Built-in Tasks”1. scrape-hn — Hacker News Scraper
Section titled “1. scrape-hn — Hacker News Scraper”Scrapes the top stories from Hacker News, extracting ranks, titles, points, authors, and link URLs.
# Run with default limit (30 stories)bun task scrape-hn
# Customize limit and run headedbun task scrape-hn --limit=10 --headedParameters:
--limit=<number>(default:30): Number of stories to extract.
2. site-audit — Performance & SEO Auditor
Section titled “2. site-audit — Performance & SEO Auditor”Audits a webpage’s loading performance, DOM node density, JS heap utilization, layout count, and takes a full-page screenshot.
bun task site-audit --url=https://github.com --screenshot=output/github-audit.pngParameters:
--url=<string>(default:https://example.com): Target website URL to audit.--screenshot=<path>(default:output/audit-screenshot.png): Destination path for audit screenshot.
3. form-automation — Automated Form Filler & Tester
Section titled “3. form-automation — Automated Form Filler & Tester”Demonstrates automated form filling, field validation, checkbox selection, and submission on a test form.
bun task form-automation --headed⚡ Running Tasks from the Interactive Studio
Section titled “⚡ Running Tasks from the Interactive Studio”You can also run any built-in task via the Interactive Studio:
- Launch
bun cli. - Choose 🚀 Run Programmatic Task.
- Select your task and enter parameter values interactively!