Member Junction
    Preparing search index...

    The shared, CDP-backed live remote-browser session. Constructed by import('./base-cdp-remote-browser-provider').BaseCdpRemoteBrowserProvider.Connect with an already-launched (CDP-attached) PlaywrightBrowserAdapter, the CDP endpoint string, the backend's capability flags, and the driver's ICdpSessionBackend hooks.

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Returns Promise<string>

      reads the live page's current selection via the adapter's GetSelectionText (which runs window.getSelection().toString() in the page). Gated by HumanTakeover like RouteHumanInput — copy-out is part of the human-control path. Best-effort: an adapter read failure is logged and mapped to '' so a best-effort copy never throws past the gate (and a page with nothing selected yields '').

    • Stops the browser reaching a loopback, link-local or private-network host (except allowedHosts, as host or host:port) by any request: navigation, redirect, followed link or subresource. For a browser that a text conversation's agents drive. Can be called again to replace the list.

      Parameters

      • allowedHosts: string[]

      Returns Promise<void>