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

Method onOpen

tests/server.py:357–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

355 self.events.emit("message", payload, isBinary)
356
357 def onOpen(self) -> None:
358 for handler in getattr(self.factory, "server_instance")._ws_handlers.copy():
359 getattr(self.factory, "server_instance")._ws_handlers.remove(handler)
360 handler(self)
361
362
363class TestServer:

Callers

nothing calls this directly

Calls 2

copyMethod · 0.80
handlerFunction · 0.50

Tested by

no test coverage detected