(ws: WebSocketRoute)
| 73 | future: asyncio.Future[WebSocketRoute] = asyncio.Future() |
| 74 | |
| 75 | def _handle_ws(ws: WebSocketRoute) -> None: |
| 76 | ws.connect_to_server() |
| 77 | future.set_result(ws) |
| 78 | |
| 79 | await page.route_web_socket(re.compile(".*"), _handle_ws) |
| 80 |
nothing calls this directly
no test coverage detected