MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / __init__

Method __init__

py/private/cdp.py:402–409  ·  view source on GitHub ↗

Constructor. Args: ws: trio_websocket.WebSocketConnection

(self, ws)

Source from the content-addressed store, hash-verified

400 """
401
402 def __init__(self, ws):
403 """Constructor.
404
405 Args:
406 ws: trio_websocket.WebSocketConnection
407 """
408 super().__init__(ws, session_id=None, target_id=None)
409 self.sessions = {}
410
411 async def aclose(self):
412 """Close the underlying WebSocket connection.

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected