MCPcopy Index your code
hub / github.com/microsoft/playwright-python / __init__

Method __init__

playwright/_impl/_debugger.py:27–34  ·  view source on GitHub ↗
(
        self, parent: ChannelOwner, type: str, guid: str, initializer: Dict
    )

Source from the content-addressed store, hash-verified

25 )
26
27 def __init__(
28 self, parent: ChannelOwner, type: str, guid: str, initializer: Dict
29 ) -> None:
30 super().__init__(parent, type, guid, initializer)
31 self._paused_details: Optional[DebuggerPausedDetails] = None
32 self._channel.on(
33 "pausedStateChanged", lambda params: self._on_paused_state_changed(params)
34 )
35
36 def _on_paused_state_changed(self, params: Dict[str, Any]) -> None:
37 self._paused_details = params.get("pausedDetails")

Callers

nothing calls this directly

Calls 2

onMethod · 0.45

Tested by

no test coverage detected