n8n-community-node-package for browser automation using Playwright with remote control
npm install n8n-nodes-playwright-remotebash
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:
`bash
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
$3
- Choose between Chromium, Firefox, or WebKit
- Configure headless mode
- Adjust operation speed with slow motion option
$3
- 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
$3
- Node.js 18.10 or later
- Approximately 1GB disk space for browser binaries
- Additional system dependencies may be required for browser automation
Resources
---------
- n8n community nodes documentation
- Playwright documentation
Version history
---------------
$3
- Initial release
- Basic browser automation operations
- Support for Chromium, Firefox, and WebKit.
- Screenshot and form interaction capabilities
$3
If browsers are not installed correctly:
1. Clean the installation:
`bash
rm -rf ~/.cache/ms-playwright
or for Windows:
rmdir /s /q %USERPROFILE%\AppData\Local\ms-playwright
`
1. Rebuild the package:
`bash
pnpm rebuild n8n-nodes-playwright
``