BrowserServer

Playwright\Browser\BrowserServerInterface

Methods

close()

void

Closes the browser gracefully and makes sure the process is terminated.

function close(): void

kill()

void

Kills the browser process and waits for the process to exit.

function kill(): void

process()

Spawned browser application process.

function process()

wsEndpoint()

string

Browser websocket url which can be used to connect to the browser.

function wsEndpoint(): string