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

Method matches

playwright/_impl/_network.py:799–800  ·  view source on GitHub ↗
(self, ws_url: str)

Source from the content-addressed store, hash-verified

797 return patterns
798
799 def matches(self, ws_url: str) -> bool:
800 return url_matches(self._base_url, ws_url, self.url, True)
801
802 async def handle(self, websocket_route: "WebSocketRoute") -> None:
803 coro_or_future = self.handler(websocket_route)

Callers

nothing calls this directly

Calls 1

url_matchesFunction · 0.90

Tested by

no test coverage detected