Playwright icon

Playwright

Automate browser actions using Playwright

Overview

This node automates browser actions using Playwright, specifically enabling navigation to a specified URL. It supports launching different browsers (Chromium, Firefox, Webkit) with customizable options such as headless mode and slow motion. This node is useful for scenarios like web scraping, automated testing, or any workflow requiring programmatic web navigation.

Use Case Examples

  1. Navigate to a website to trigger subsequent actions like scraping data or taking screenshots.
  2. Automate browser navigation in testing workflows to verify page loads and content.

Properties

Name Meaning
URL The URL to navigate to, required for the navigation operation.
Browser The browser to use for navigation, options include Chromium, Firefox, and Webkit.
Browser Launch Options Options to configure browser launch behavior, including headless mode and slow motion delay.

Output

JSON

  • json - The JSON output contains the result of the navigation operation or error details if the operation fails.

Dependencies

  • Playwright library for browser automation
  • Browser executables for Chromium, Firefox, and Webkit

Troubleshooting

  • Common issues include browser executable path errors, which trigger automatic browser installation attempts.
  • Errors during browser launch or navigation may occur; enabling 'Continue On Fail' allows the workflow to proceed with error details in output.
  • Ensure the URL is valid and accessible to avoid navigation failures.

Links

Discussion