mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
636 B
636 B
class: BrowserServer
- langs: js
event: BrowserServer.close
Emitted when the browser server closes.
async method: BrowserServer.close
Closes the browser gracefully and makes sure the process is terminated.
async method: BrowserServer.kill
Kills the browser process and waits for the process to exit.
method: BrowserServer.process
- returns: <[ChildProcess]>
Spawned browser application process.
method: BrowserServer.wsEndpoint
- returns: <[string]>
Browser websocket url.
Browser websocket endpoint which can be used as an argument to [method: BrowserType.connect
] to establish connection
to the browser.