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

Method _on_binding

playwright/_impl/_page.py:341–345  ·  view source on GitHub ↗
(self, binding_call: "BindingCall")

Source from the content-addressed store, hash-verified

339 await self._browser_context._on_web_socket_route(web_socket_route)
340
341 def _on_binding(self, binding_call: "BindingCall") -> None:
342 func = self._bindings.get(binding_call._initializer["name"])
343 if func:
344 asyncio.create_task(binding_call.call(func))
345 self._browser_context._on_binding(binding_call)
346
347 def _on_worker(self, worker: "Worker") -> None:
348 self._workers.append(worker)

Callers 1

__init__Method · 0.95

Calls 2

callMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected