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

Method once

playwright/sync_api/_generated.py:1077–1081  ·  view source on GitHub ↗

Fired when the websocket closes.

(
        self, event: Literal["close"], f: typing.Callable[["WebSocket"], "None"]
    )

Source from the content-addressed store, hash-verified

1075
1076 @typing.overload
1077 def once(
1078 self, event: Literal["close"], f: typing.Callable[["WebSocket"], "None"]
1079 ) -> None:
1080 """
1081 Fired when the websocket closes."""
1082
1083 @typing.overload
1084 def once(

Callers

nothing calls this directly

Calls 1

onceMethod · 0.45

Tested by

no test coverage detected