mokr.utils.launch

Module Contents

Functions

get_ws_endpoint(→ str)

Get the websocket URL for the remote browser at url.

Attributes

LOGGER

mokr.utils.launch.LOGGER
mokr.utils.launch.get_ws_endpoint(url) str

Get the websocket URL for the remote browser at url.

Parameters:

url (_type_) – Remote browser URL.

Raises:

BrowserError – Raised if browser closes while trying to resolve.

Returns:

Websocket URL from <url>/json/version response.

Return type:

str