Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions src/browser/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,56 @@ export const browserProviders: BrowserProviderConfig[] = [
apiKey: process.env.BROWSERBASE_API_KEY!,
projectId: process.env.BROWSERBASE_PROJECT_ID!,
}),
sessionCreateOptions: { region: 'us-east-1' },
sessionCreateOptions: {
region: 'us-east-1',
stealth: false,
},
},
Comment thread
kisernl marked this conversation as resolved.
{
name: 'browseruse',
requiredEnvVars: ['BROWSER_USE_API_KEY'],
createBrowserProvider: () => browseruse({
apiKey: process.env.BROWSER_USE_API_KEY!
}),
sessionCreateOptions: { proxies: false },
sessionCreateOptions: {
proxies: false,
stealth: false,
},
},
{
name: 'hyperbrowser',
requiredEnvVars: ['HYPERBROWSER_API_KEY'],
createBrowserProvider: () => hyperbrowser({
apiKey: process.env.HYPERBROWSER_API_KEY!
}),
sessionCreateOptions: { region: 'us-east' },
sessionCreateOptions: {
region: 'us-east',
stealth: false,
},
},
{
name: 'kernel',
requiredEnvVars: ['KERNEL_API_KEY'],
createBrowserProvider: () => kernel({
apiKey: process.env.KERNEL_API_KEY!
}),
sessionCreateOptions: { stealth: false },
},
{
name: 'notte',
requiredEnvVars: ['NOTTE_API_KEY'],
createBrowserProvider: () => notte({
apiKey: process.env.NOTTE_API_KEY!
}),
sessionCreateOptions: { stealth: false },
},
{
name: 'steel',
requiredEnvVars: ['STEEL_API_KEY'],
createBrowserProvider: () => steel({
apiKey: process.env.STEEL_API_KEY!
}),
sessionCreateOptions: { stealth: false },
},
// add browser providers above
];
22 changes: 13 additions & 9 deletions src/browser/throughput-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import type { ThroughputProviderConfig } from './throughput-types.js';
* Throughput benchmark provider configurations.
*
* Mirrors src/browser/providers.ts but overrides sessionCreateOptions to
* include stealth + a 1920x1080 viewport for every provider — these are the
* settings agent workloads typically use.
* use a consistent 1920x1080 viewport for every provider.
*/
const VIEWPORT = { width: 1920, height: 1080 };

Expand All @@ -25,7 +24,8 @@ export const throughputProviders: ThroughputProviderConfig[] = [
}),
sessionCreateOptions: {
region: 'us-east-1',
stealth: true,
stealth: false,
proxies: false,
headless: true,
viewport: VIEWPORT,
},
Expand All @@ -37,10 +37,10 @@ export const throughputProviders: ThroughputProviderConfig[] = [
apiKey: process.env.BROWSER_USE_API_KEY!,
}),
sessionCreateOptions: {
stealth: true,
stealth: false,
proxies: false,
headless: true,
viewport: VIEWPORT,
proxies: false,
},
},
{
Expand All @@ -51,7 +51,8 @@ export const throughputProviders: ThroughputProviderConfig[] = [
}),
sessionCreateOptions: {
region: 'us-east',
stealth: true,
stealth: false,
proxies: false,
headless: true,
viewport: VIEWPORT,
},
Expand All @@ -63,7 +64,8 @@ export const throughputProviders: ThroughputProviderConfig[] = [
apiKey: process.env.KERNEL_API_KEY!,
}),
sessionCreateOptions: {
stealth: true,
stealth: false,
proxies: false,
headless: true,
viewport: VIEWPORT,
},
Expand All @@ -75,7 +77,8 @@ export const throughputProviders: ThroughputProviderConfig[] = [
apiKey: process.env.NOTTE_API_KEY!,
}),
sessionCreateOptions: {
stealth: true,
stealth: false,
proxies: false,
headless: true,
viewport: VIEWPORT,
},
Expand All @@ -87,7 +90,8 @@ export const throughputProviders: ThroughputProviderConfig[] = [
apiKey: process.env.STEEL_API_KEY!,
}),
sessionCreateOptions: {
stealth: true,
stealth: false,
proxies: false,
headless: true,
viewport: VIEWPORT,
},
Expand Down
Loading