MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / addCallback

Function addCallback

javascript/selenium-webdriver/test/bidi/domain_test.js:35–38  ·  view source on GitHub ↗
(method, handler)

Source from the content-addressed store, hash-verified

33 return {
34 registered: undefined,
35 async addCallback(method, handler) {
36 this.registered = { method, handler }
37 return { id: 'sub-1', unsubscribe: async () => {} }
38 },
39 }
40}
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected