MCPcopy
hub / github.com/microsoft/playwright-python / matches

Method matches

playwright/_impl/_helper.py:421–422  ·  view source on GitHub ↗
(self, request_url: str)

Source from the content-addressed store, hash-verified

419 self._active_invocations: Set[RouteHandlerInvocation] = set()
420
421 def matches(self, request_url: str) -> bool:
422 return url_matches(self._base_url, request_url, self.url)
423
424 async def handle(self, route: "Route") -> bool:
425 handler_invocation = RouteHandlerInvocation(

Callers 4

_on_routeMethod · 0.45
_on_web_socket_routeMethod · 0.45
_on_routeMethod · 0.45
_on_web_socket_routeMethod · 0.45

Calls 1

url_matchesFunction · 0.85

Tested by

no test coverage detected