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

Function event

javascript/selenium-webdriver/bidi/domain.js:41–43  ·  view source on GitHub ↗

* Describes one subscribable BiDi event, for use with Domain#addCallback(). * @param {string} method * @param {{fromWire(payload: unknown): unknown}} [type] Runtime record/union * class for the event's params, if the schema declares one. When present, * addCallback() parses each delivered pa

(method, type)

Source from the content-addressed store, hash-verified

39 * The event descriptor, ready to pass to Domain#addCallback().
40 */
41function event(method, type) {
42 return { method, type }
43}
44
45/** Shared base for every generated BiDi domain class. See domain.d.ts for the typed surface. */
46class Domain {

Callers 2

index_test.jsFile · 0.85
domain_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected