Browser Use icon

Browser Use

Automate browser interactions using AI

Overview

This node automates browser interactions using AI by executing tasks based on natural language instructions. It supports connecting either to a cloud API or a local bridge service to run browser automation tasks such as navigating websites, clicking, typing, and extracting data. Common use cases include web scraping, automated testing, and data extraction from web pages. For example, you can instruct the browser to go to an e-commerce site, search for products, and extract prices and ratings automatically.

Use Case Examples

  1. Automate price comparison by instructing the browser to visit multiple online stores and extract product details.
  2. Perform automated login and data extraction from a web portal for reporting purposes.
  3. Run automated UI tests by instructing the browser to navigate and interact with web application elements.

Properties

Name Meaning
Connection Type Selects how to connect to Browser Use, either via Cloud API or a Local Bridge service.
Instructions Natural language instructions for the browser to follow, such as navigating, clicking, typing, and extracting data. This is required for running a task.
AI Provider Specifies the AI provider to use for processing browser instructions when using the Local Bridge connection type.
Save Browser Data Whether to save browser cookies and session data for future tasks, useful for maintaining login sessions across multiple tasks (Cloud API only).
Headful Mode Whether to run the browser in visible mode so you can see the browser window performing actions (Local Bridge only).
Use Custom Chrome Whether to use a custom Chrome installation specified in environment variables (Local Bridge only).

Output

JSON

  • json - The JSON output contains the response from the Browser Use API for the requested operation, such as task details, status, media, or results of running a task.

Dependencies

  • Browser Use Cloud API or Local Bridge API credentials

Troubleshooting

  • Ensure API key or local bridge URL and token are correctly configured to avoid connection errors.
  • If the node fails to connect, verify network access to the Browser Use Cloud API or local bridge service.
  • For Local Bridge connection, ensure the Python service is properly installed and running as per documentation.
  • Common errors include missing API key, invalid URL, or failed API requests; check error messages for guidance.
  • If using 'runTask', ensure the instructions field is not empty and properly formatted.

Links

Discussion