When connecting to an existing browser session using launch, calling browser.close() kills the entire process. Calling launch with usingalso kills the whole process at the end.
Manually set WebSocket endpoints could maybe benefit from an explicit disconnect handler to close the connection and not the entire browser.
When connecting to an existing browser session using
launch
, callingbrowser.close()
kills the entire process. Callinglaunch
withusing
also kills the whole process at the end.Manually set WebSocket endpoints could maybe benefit from an explicit
disconnect
handler to close the connection and not the entire browser.