BrowserServer
- browserServer.on('close')
- browserServer.close()
- browserServer.kill()
- browserServer.process()
- browserServer.wsEndpoint()
browserServer.on('close')
Added in: v1.8Emitted when the browser server closes.
browserServer.close()
Added in: v1.8Closes the browser gracefully and makes sure the process is terminated.
browserServer.kill()
Added in: v1.8Kills the browser process and waits for the process to exit.
browserServer.process()
Added in: v1.8- returns:ChildProcess># <
Spawned browser application process.
browserServer.wsEndpoint()
Added in: v1.8Browser websocket url.
Browser websocket endpoint which can be used as an argument to browserType.connect(wsEndpoint[, options]) to establish connection to the browser.