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

Method __init__

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

Source from the content-addressed store, hash-verified

24
25class Dialog(ChannelOwner):
26 def __init__(
27 self, parent: ChannelOwner, type: str, guid: str, initializer: Dict
28 ) -> None:
29 super().__init__(parent, type, guid, initializer)
30 self._page: Optional["Page"] = from_nullable_channel(initializer.get("page"))
31
32 def __repr__(self) -> str:
33 return f"<Dialog type={self.type} message={self.message} default_value={self.default_value}>"

Callers

nothing calls this directly

Calls 2

from_nullable_channelFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected