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

Method send_on_web_socket_connection

tests/server.py:277–278  ·  view source on GitHub ↗
(self, data: bytes)

Source from the content-addressed store, hash-verified

275 self.set_route(from_, handle_redirect)
276
277 def send_on_web_socket_connection(self, data: bytes) -> None:
278 self.once_web_socket_connection(lambda ws: ws.sendMessage(data))
279
280 def once_web_socket_connection(
281 self, handler: Callable[["WebSocketProtocol"], None]

Calls 1