Rush StackShopBlogEvents
Skip to main content

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

PlaywrightTunnel class

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.

Hosts a Playwright browser server and forwards traffic over a WebSocket tunnel.

Signature:

export declare class PlaywrightTunnel 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

(BETA) Constructs a new instance of the PlaywrightTunnel class

Properties

Property

Modifiers

Type

Description

status

TunnelStatus

(BETA)

Methods

Method

Modifiers

Description

[Symbol.asyncDispose]()

(BETA)

cleanTempFilesAsync()

(BETA)

startAsync(options)

(BETA)

stopAsync()

(BETA)

waitForCloseAsync()

(BETA)