Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/playwright-browser-tunnel > IDisposableTunneledBrowserConnection

IDisposableTunneledBrowserConnection interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Disposable handle returned by tunneledBrowserConnection().

Signature:

export interface IDisposableTunneledBrowserConnection 

Properties

Property

Modifiers

Type

Description

[Symbol.dispose]

() => void

(BETA) Dispose method that closes the WebSocket servers. Called automatically when using using syntax.

closePromise

Promise<void>

(BETA) Promise that resolves when the remote WebSocket server closes.

remoteEndpoint

string

(BETA) The WebSocket endpoint URL that the local Playwright client should connect to.