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

Method __init__

py/private/cdp.py:334–347  ·  view source on GitHub ↗

Constructor. Args: ws: trio_websocket.WebSocketConnection session_id: devtools.target.SessionID target_id: devtools.target.TargetID

(self, ws, session_id, target_id)

Source from the content-addressed store, hash-verified

332 """
333
334 def __init__(self, ws, session_id, target_id):
335 """Constructor.
336
337 Args:
338 ws: trio_websocket.WebSocketConnection
339 session_id: devtools.target.SessionID
340 target_id: devtools.target.TargetID
341 """
342 super().__init__(ws, session_id, target_id)
343
344 self._dom_enable_count = 0
345 self._dom_enable_lock = trio.Lock()
346 self._page_enable_count = 0
347 self._page_enable_lock = trio.Lock()
348
349 @asynccontextmanager
350 async def dom_enable(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected