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

Method on

playwright/sync_api/_generated.py:8108–8110  ·  view source on GitHub ↗

Emitted when the page closes.

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

Source from the content-addressed store, hash-verified

8106
8107 @typing.overload
8108 def on(self, event: Literal["close"], f: typing.Callable[["Page"], "None"]) -> None:
8109 """
8110 Emitted when the page closes."""
8111
8112 @typing.overload
8113 def on(

Callers 15

__init__Method · 0.95
onMethod · 0.45
onMethod · 0.45
onMethod · 0.45
onMethod · 0.45
onMethod · 0.45
onMethod · 0.45
test_memory_objectsFunction · 0.45
test_should_fireFunction · 0.45

Calls

no outgoing calls