Back to Nodes

Playwright

Last updated Aug 20, 2025

Complete n8n Playwright node with all Microsoft Playwright MCP tools and AI assistant support for advanced browser automation

16 Weekly Downloads
81 Monthly Downloads

Included Nodes

Playwright

Description

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:

  1. Clean the installation:
rm -rf ~/.cache/ms-playwright
# or for Windows:
rmdir /s /q %USERPROFILE%\AppData\Local\ms-playwright
  1. Rebuild the package:
pnpm rebuild n8n-nodes-playwright

License

MIT

From our network Other tools and sites we build