Skip to content

Commit 8344d68

Browse files
improvement(browseruse): add profile id param (#2903)
* improvement(browseruse): add profile id param * make request a stub since we have directExec
1 parent a26a1a9 commit 8344d68

File tree

3 files changed

+291
-134
lines changed

3 files changed

+291
-134
lines changed

apps/sim/blocks/blocks/browser_use.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ export const BrowserUseBlock: BlockConfig<BrowserUseResponse> = {
5757
type: 'switch',
5858
placeholder: 'Save browser data',
5959
},
60+
{
61+
id: 'profile_id',
62+
title: 'Profile ID',
63+
type: 'short-input',
64+
placeholder: 'Enter browser profile ID (optional)',
65+
},
6066
{
6167
id: 'apiKey',
6268
title: 'API Key',
@@ -75,6 +81,7 @@ export const BrowserUseBlock: BlockConfig<BrowserUseResponse> = {
7581
variables: { type: 'json', description: 'Task variables' },
7682
model: { type: 'string', description: 'AI model to use' },
7783
save_browser_data: { type: 'boolean', description: 'Save browser data' },
84+
profile_id: { type: 'string', description: 'Browser profile ID for persistent sessions' },
7885
},
7986
outputs: {
8087
id: { type: 'string', description: 'Task execution identifier' },

0 commit comments

Comments
 (0)