MCPcopy Create free account
hub / github.com/browserbase/stagehand / createBrowserbaseClient

Function createBrowserbaseClient

packages/cli/src/lib/cloud/api.ts:79–88  ·  view source on GitHub ↗
(args: {
  apiKey?: string;
  baseUrl?: string;
})

Source from the content-addressed store, hash-verified

77}
78
79export function createBrowserbaseClient(args: {
80 apiKey?: string;
81 baseUrl?: string;
82}) {
83 return new Browserbase({
84 apiKey: resolveApiKey(args),
85 baseURL: resolveBaseUrl(args),
86 defaultHeaders: attributionHeaders(),
87 });
88}
89
90export async function withBrowserbaseApi<T>(
91 command: BrowserbaseApiCommand,

Callers 15

runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls 3

resolveBaseUrlFunction · 0.85
attributionHeadersFunction · 0.85
resolveApiKeyFunction · 0.70

Tested by

no test coverage detected