n8n-nodes-playwright
v0.1.2
Published
n8n-community-node-package for browser automation using Playwright
Downloads
165
Readme
n8n-nodes-playwright
This is an n8n community node. It lets you automate browser actions using Playwright in your n8n workflows.
n8n is a fair-code licensed workflow automation platform.
Installation Operations Compatibility Resources Version history
Installation
Follow the installation guide in the n8n community nodes documentation.
pnpm install n8n-nodes-playwright
Note: The package will automatically download and set up the required browser binaries during installation. This requires approximately 1GB of disk space.
If you need to manually trigger the browser setup:
pnpm rebuild n8n-nodes-playwright
Operations
This node supports the following operations:
- Navigate: Go to a specified URL
- Take Screenshot: Capture a screenshot of a webpage
- Get Text: Extract text from an element using CSS selector
- Click Element: Click on an element using CSS selector
- Fill Form: Fill a form field using CSS selector
Browser Options
- Choose between Chromium, Firefox, or WebKit
- Configure headless mode
- Adjust operation speed with slow motion option
Screenshot Options
- Full page capture
- Custom save path
- Base64 output
Compatibility
- Requires n8n version 1.0.0 or later
- Tested with Playwright version 1.49.0
- Supports Windows, macOS, and Linux
System Requirements
- Node.js 18.10 or later
- Approximately 1GB disk space for browser binaries
- Additional system dependencies may be required for browser automation
Resources
Version history
0.1.*
- Initial release
- Basic browser automation operations
- Support for Chromium, Firefox, and WebKit.
- Screenshot and form interaction capabilities
Troubleshooting
If browsers are not installed correctly:
- Clean the installation:
rm -rf ~/.cache/ms-playwright
# or for Windows:
rmdir /s /q %USERPROFILE%\AppData\Local\ms-playwright
- Rebuild the package:
pnpm rebuild n8n-nodes-playwright