Overview
This node uses a browser automation tool to navigate to a specified URL. It is designed to be used in workflows where automated web browsing or interaction is required, such as testing websites, scraping data, or automating repetitive web tasks. The node ensures that a browser instance is running before attempting navigation and reports success or failure accordingly.
Practical examples:
- Automatically opening a webpage to start a web scraping workflow.
- Navigating to a login page before performing authentication steps.
- Testing if a website is reachable and responding correctly.
Properties
| Name | Meaning |
|---|---|
| URL | The web address (URL) to navigate the browser to. This property is required. |
Output
The node outputs a JSON object with the following structure:
{
"status": "Success",
"message": "Successfully navigated to <URL>",
"url": "<URL>"
}
status: Indicates whether the navigation was successful.message: A descriptive message about the navigation result.url: The URL that was navigated to.
No binary data output is produced by this node.
Dependencies
- Requires a running browser instance managed by an external browser manager component.
- The node depends on the browser being launched prior to execution; otherwise, it throws an error.
- No direct external API keys or credentials are needed for this node itself, but the environment must support browser automation.
Troubleshooting
Error: "Browser is not running. Please launch the browser first."
This indicates that the browser instance required for navigation has not been started. To resolve, ensure that a browser launch node or equivalent setup step runs before this node.Error: "URL is required"
The URL input property is empty or missing. Provide a valid URL string to proceed.Error: "Failed to navigate to URL: ..."
Navigation failed due to reasons such as invalid URL format, network issues, or page load errors. Verify the URL correctness and network connectivity.
Links and References
- Playwright Documentation – For understanding browser automation concepts.
- n8n Documentation – General information on creating and using custom nodes.