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

Method wait_for_event

playwright/async_api/_generated.py:9920–9926  ·  view source on GitHub ↗
(
        self,
        event: typing.Literal["close"],
        predicate: typing.Optional[typing.Callable[["Page"], bool]] = None,
        *,
        timeout: typing.Optional[float] = None,
    )

Source from the content-addressed store, hash-verified

9918
9919 @typing.overload
9920 async def wait_for_event(
9921 self,
9922 event: typing.Literal["close"],
9923 predicate: typing.Optional[typing.Callable[["Page"], bool]] = None,
9924 *,
9925 timeout: typing.Optional[float] = None,
9926 ) -> "Page": ...
9927
9928 @typing.overload
9929 async def wait_for_event(

Callers 2

wait_for_eventMethod · 0.45
wait_for_eventMethod · 0.45

Calls 3

to_millisecondsFunction · 0.90
from_maybe_implMethod · 0.80
_wrap_handlerMethod · 0.45

Tested by

no test coverage detected