v1.5.0
Highlights
This release brings powerful new capabilities for AI-driven automation, flexible browser deployment, and seamless file handling.
β¨ New Features
π€ AI Agent Integration (#157)
Seamlessly integrate with n8n's AI agents for intelligent browser automation:
- Dynamic script generation using
$fromAI()- let AI agents write Puppeteer scripts on the fly - Query parameter - pass natural language instructions or structured data to scripts via
$input.query - Build reusable scripts that adapt based on AI input
π₯ Automatic Download Capture (#156)
New "Capture Downloads" option for custom scripts that automatically intercepts and returns downloaded files as binary data:
- Captures click-triggered, programmatic, and direct downloads
- Returns files as binary output for use in subsequent workflow nodes
- Supports multiple file downloads in a single execution
- Perfect for downloading PDFs, reports, images, and documents
π¦ Firefox Support (#214)
Cross-browser automation is here:
- New Protocol option supporting both CDP and WebDriver BiDi
- Run automations on Firefox in addition to Chromium
- Configurable per-node or globally via
PUPPETEER_PROTOCOLenvironment variable
π³ Container-Aware Configuration (#211)
Improved out-of-the-box experience for containerized deployments:
- Auto-detection of Docker/Kubernetes environments
- Automatically applies container-safe arguments (
--no-sandbox, etc.) - Environment variable support:
PUPPETEER_BROWSER_WS_ENDPOINT/PUPPETEER_WS_ENDPOINT- connect to external browsersPUPPETEER_PROTOCOL- set default protocol globally
- Info banners show when container mode or env vars are active
- Manual override via "Add Container Arguments" option
π Bug Fixes
- Fixed
console.logoutput not appearing in node logs - Improved Docker build reliability for n8n-workflow dependency
π³ Docker Improvements
- Added convenient npm scripts:
docker:build,docker:run,docker:test,docker:shell, and more - Added fonts for improved text rendering (CJK, emoji, etc.)
- Installed apk-tools for easier container customization
π¦ Dependencies
- puppeteer: 24.4.0 β 24.27.0
- n8n-workflow: 1.82.0 β 1.120.7
- Various dev dependency updates
Full Changelog: v1.4.1...v1.5.0