Member Junction
    Preparing search index...

    The minimal Browserless service surface the import('./browserless-remote-browser').BrowserlessRemoteBrowser depends on. Production binds this to the real browserless.io CDP-as-a-service; tests inject a FakeBrowserlessClient.

    interface IBrowserlessClient {
        CloseSession(sessionId: string): Promise<void>;
        CreateSession(
            options: BrowserlessCreateSessionOptions,
        ): Promise<BrowserlessCreateSessionResult>;
    }
    Index

    Methods

    • Ends a Browserless session and releases the pooled browser behind it. Should be idempotent and non-throwing for an already-closed session, so teardown is safe to run more than once.

      Parameters

      • sessionId: string

        The Browserless session id returned by CreateSession.

      Returns Promise<void>