You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an n8n community node. It lets you use Browserbase cloud browsers in your n8n workflows.
3
+
This is an n8n community node. It lets you use Browserbase cloud browsers in your n8n workflows with both traditional browser automation and AI-powered operations.
4
4
5
5
Browserbase is a platform for running headless browsers in the cloud. It provides a simple API for controlling browsers, useful features for managing browser sessions, and scalable infrastructure for web automation tasks like scraping, testing, and user interaction simulation.
6
6
@@ -22,17 +22,25 @@ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes
22
22
This node supports two main resources:
23
23
24
24
### Browser Session Management
25
-
-**Create Session** - Create a new browser session with configurable options
25
+
-**Create Session** - Create a new browser session with configurable options (keep-alive, proxies, viewport settings)
26
26
-**Get Sessions** - List all browser sessions for your project
27
27
-**Get Session** - Get details of a specific session by ID
28
28
-**Delete Session** - Delete a browser session by ID
29
29
30
-
### Browser Actions (Coming Soon)
30
+
### Browser Actions
31
+
The node provides both traditional browser automation and AI-powered operations:
32
+
33
+
#### Traditional Browser Operations
31
34
-**Navigate** - Navigate to a specific URL within a session
32
-
-**Take Screenshot** - Capture screenshots of pages or elements
33
-
-**Get Page Content** - Extract text content from page elements
35
+
-**Take Screenshot** - Capture full page or element screenshots
36
+
-**Get Page Content** - Extract text content from page elements using CSS selectors
34
37
-**Click Element** - Click on page elements using CSS selectors
35
-
-**Type Text** - Type text into input fields
38
+
-**Type Text** - Type text into input fields using CSS selectors
-**Act** - Perform actions using natural language instructions (e.g., "click the login button", "fill out the contact form")
42
+
-**Observe** - Get insights about the page using natural language queries (e.g., "what products are available?", "is the user logged in?")
43
+
-**Extract** - Extract structured data using natural language instructions and Zod schemas
36
44
37
45
## Credentials
38
46
@@ -41,20 +49,22 @@ To use this node, you need:
41
49
1.**Browserbase Account**: Sign up at [browserbase.com](https://browserbase.com)
42
50
2.**API Key**: Get your API key from the Browserbase dashboard
43
51
3.**Project ID**: Create a project and note the Project ID
52
+
4.**AI API Key** (for Stagehand operations): OpenAI or Anthropic API key
44
53
45
54
### Setting up credentials in n8n:
46
55
1. In n8n, go to **Settings** → **Credentials**
47
56
2. Click **Add Credential** and search for "Browserbase"
48
57
3. Enter your:
49
58
-**Browserbase API Key**: Your API key from the dashboard
50
59
-**Browserbase Project ID**: Your project ID from the dashboard
60
+
-**AI API Key**: Your OpenAI or Anthropic API key (for AI operations)
51
61
4. Test the connection and save
52
62
53
63
## Compatibility
54
64
55
65
-**Minimum n8n version**: 0.227.0
56
66
-**Tested against**: n8n v1.0+
57
-
-**Node.js version**: 18+ (required for Browserbase SDK)
67
+
-**Node.js version**: 18+ (required for Playwright and Stagehand dependencies)
58
68
59
69
## Usage
60
70
@@ -67,7 +77,7 @@ To use this node, you need:
67
77
- Keep Alive: `true` to maintain the session
68
78
- Proxies: `true` to use rotating proxies
69
79
- Fingerprint: `true` for browser fingerprinting
70
-
- Viewport dimensions
80
+
- Viewport dimensions (width/height)
71
81
72
82
2.**List Sessions**
73
83
- Resource: `Browser Session`
@@ -84,63 +94,153 @@ To use this node, you need:
84
94
- Operation: `Delete Session`
85
95
- Session ID: `ses_1234567890`
86
96
87
-
### Advanced Configuration
88
-
89
-
When creating sessions, you can configure:
90
-
91
-
-**Keep Alive**: Whether to keep the session active after operations
92
-
-**Browser Settings**:
93
-
- Viewport Width/Height for consistent rendering
94
-
-**Proxies**: Enable rotating proxies for IP diversity
95
-
-**Fingerprinting**: Enable browser fingerprinting for stealth
96
-
97
-
### Browser Actions (Implementation Required)
98
-
99
-
The Browser Action resource provides operations that require additional implementation using the Browserbase SDK. Each operation returns instructions for executing the action:
100
-
101
-
1.**Navigate to URL**
102
-
- Session ID: Use an existing session
103
-
- URL: Target website
104
-
- Wait for Load: Optional page load waiting
105
-
106
-
2.**Take Screenshot**
107
-
- Session ID: Use an existing session
108
-
- Screenshot Options: Full page or element-specific
0 commit comments