CrawlerRemoteBrowserOptions
Hierarchy
- RemoteBrowserOptions
- CrawlerRemoteBrowserOptions
Index
Properties
optionalinheritedconnectOptions
Extra options forwarded to the library connect() call (endpoint excluded).
inheritedendpoint
The remote browser endpoint: a static URL, a function returning one per launch, or a RemoteBrowserProvider instance encapsulating a session create/release lifecycle.
optionalmaxOpenBrowsers
Maximum number of remote browsers open at once; see BrowserPoolOptions.maxOpenBrowsers. Defaults
to the provider's value, or Infinity.
optionalinheritedrelease
Cleanup callback invoked when the browser disconnects or the connection fails right after the endpoint
resolved. Receives the context returned by a function endpoint. Errors are caught and logged. Ignored
when endpoint is a RemoteBrowserProvider (its own release() is used instead).
Type declaration
Parameters
info: { context?: Record<string, unknown>; endpoint: string }
optionalcontext: Record<string, unknown>
endpoint: string
Returns unknown
The remote-connection configuration a browser crawler accepts on its
remoteBrowseroption. Library-specific connect settings (e.g. Playwright'sprotocol) are added by the concrete crawler's options.