Member Junction
    Preparing search index...
    BrowserbaseClientFactory: (
        config?: Record<string, unknown>,
    ) => IBrowserbaseClient

    A factory that constructs an IBrowserbaseClient for a session — the dependency-injection seam. Production supplies a factory that builds the real @browserbasehq/sdk + Stagehand adapter from resolved config; tests supply one that returns a FakeBrowserbaseClient.

    Type Declaration

      • (config?: Record<string, unknown>): IBrowserbaseClient
      • Parameters

        • Optionalconfig: Record<string, unknown>

          The resolved provider/session configuration (region, credential refs already resolved upstream).

        Returns IBrowserbaseClient

        The Browserbase client instance the driver creates and drives sessions with.