MCPcopy Create free account
hub / github.com/Vinyzu/Botright / binding

Function binding

tests/playwright_tests/test_browsercontext.py:33–35  ·  view source on GitHub ↗
(source, a, b)

Source from the content-addressed store, hash-verified

31 binding_source = []
32
33 def binding(source, a, b):
34 binding_source.append(source)
35 return a + b
36
37 await browser.expose_binding("add", lambda source, a, b: binding(source, a, b))
38

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected