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

Method __init__

py/private/cdp.py:163–169  ·  view source on GitHub ↗

Constructor. Args: reason: wsproto.frame_protocol.CloseReason

(self, reason)

Source from the content-addressed store, hash-verified

161 """Raised when a public method is called on a closed CDP connection."""
162
163 def __init__(self, reason):
164 """Constructor.
165
166 Args:
167 reason: wsproto.frame_protocol.CloseReason
168 """
169 self.reason = reason
170
171 def __repr__(self):
172 """Return representation."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected