Browser Use

Convex component wrapping Browser Use Cloud API for AI-powered browser automation with persistent task tracking and reactive queries.

Installation

npm install browser-use-convex-component

About Browser Use

A Convex component that wraps the [Browser Use Cloud API](https://cloud.browser-use.com/signup), enabling AI-powered browser automation with persistent task tracking, session management, and reactive queries.

Features
Task Management - Create, monitor, and stop browser automation tasks
Session Management - Create persistent browser sessions with proxy support
Profile Management - Manage browser profiles for authentication persistence
Reactive Queries - All task and session data stored in Convex for real-time subscriptions

Benefits

Use cases

how to automate browser tasks with AI in Convex app

The Browser Use Convex Component integrates the Browser Use Cloud API directly into your Convex backend, allowing you to create AI-powered browser automation tasks that persist in your database. You can monitor task progress through reactive queries and build UIs that respond to automation state changes in real-time.

persistent browser session management for web automation

This component provides session management functions that create and maintain browser sessions with proxy support and profile persistence. Sessions are stored in Convex, enabling you to resume automation workflows across different executions and maintain authentication state between tasks.

real-time browser automation monitoring

All browser automation tasks and their status are stored in Convex, enabling real-time subscriptions to task progress. Your frontend can reactively display automation status, results, and errors as they happen through Convex's reactive query system.

AI browser automation with task persistence

The component wraps Browser Use Cloud's AI-powered browser automation in Convex functions, storing all task data persistently. You can create, monitor, and stop browser automation tasks while maintaining full history and state in your Convex database.

Frequently asked questions

What browser automation capabilities does this component provide?

The Browser Use Convex Component wraps the Browser Use Cloud API to provide AI-powered browser automation including page navigation, form filling, clicking elements, and data extraction. All tasks are managed through Convex functions with persistent storage and real-time monitoring capabilities.

How does session management work with browser profiles?

The component provides functions to create and manage persistent browser sessions with profile support, allowing you to maintain authentication state and cookies across automation runs. Sessions can be configured with proxy settings and are stored in Convex for persistence between tasks.

Can I monitor browser automation tasks in real-time?

Yes, the Browser Use Convex Component stores all task data in Convex, enabling real-time subscriptions to task status, progress, and results. Your frontend can reactively update as automation tasks execute, providing live feedback to users.

What happens if a browser automation task fails?

The Browser Use Convex Component handles task failures by storing error information in Convex, allowing you to query failed tasks and their error details. You can implement retry logic using Convex's scheduling system and monitor task health through reactive queries.

Do I need a Browser Use Cloud API key?

Yes, the Browser Use Convex Component requires a Browser Use Cloud API key to function, as it wraps their browser automation service. The component handles API communication while providing Convex-native functions for task and session management with persistent storage.

Links