Browser Use icon

Browser Use

Automate browser interactions using AI

Overview

This node allows users to interact with the Browser Use service to automate browser tasks using AI. It supports operations such as running new tasks with natural language instructions, pausing, resuming, stopping tasks, retrieving task status, media, and detailed information, and listing tasks. It can connect either via a cloud API or a local bridge setup, making it flexible for different deployment environments. This node is useful for automating web interactions like data extraction, navigation, and session management, which can be applied in scenarios such as web scraping, automated testing, or workflow automation involving web browsers.

Use Case Examples

  1. Run a browser automation task to navigate to a website, perform searches, and extract data.
  2. Pause a running browser task temporarily to manage resource usage or timing.
  3. Retrieve a screenshot or video recording of a browser automation session for review.
  4. List all browser automation tasks to monitor and manage ongoing or completed tasks.

Properties

Name Meaning
Connection Type Selects whether to connect to Browser Use via the Cloud API or a Local Bridge service.
Task ID The unique identifier of the browser task to interact with. Required for operations that target specific tasks such as pause, resume, stop, get status, get media, and get task details.

Output

JSON

  • json - Contains the response data from the Browser Use API for the selected operation, such as task details, status, media content, or confirmation of task control actions.

Dependencies

  • Requires credentials for Browser Use Cloud API or Local Bridge API, including API keys or tokens and URLs.

Troubleshooting

  • Common issues include missing or invalid API keys or tokens, resulting in authentication errors.
  • Connection failures to the Cloud API or Local Bridge service can occur if the service is unreachable or the URL is incorrect.
  • Errors from the API are propagated and can be handled by enabling 'Continue On Fail' to capture error messages in the output.
  • Ensure the Local Bridge Python service is properly set up and running if using the local connection type.

Links

  • Browser Use Documentation - Official documentation for setting up and using Browser Use, including Local Bridge setup instructions.

Discussion