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

Method on_match

playwright/_impl/_waiter.py:72–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 predicate: Callable = None,
71 ) -> None:
72 def on_match() -> None:
73 self._reject(error() if callable(error) else error)
74
75 def listener(event_data: Any = None) -> None:
76 self._evaluate_predicate(predicate, event_data, on_match)

Callers

nothing calls this directly

Calls 1

_rejectMethod · 0.95

Tested by

no test coverage detected