Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ emitEvent
Function
emitEvent
javascript/selenium-webdriver/test/bidi/index_test.js:37–41 ·
view source on GitHub ↗
(method, params)
Source
from the content-addressed store, hash-verified
35
server,
36
url: `ws:
//127.0.0.1:${port}`,
37
emitEvent(method, params) {
38
for
(
const
client of server.clients) {
39
client.send(JSON.stringify({ method, params }))
40
}
41
},
42
})
43
})
44
server.on(
'connection'
, (ws) => {
Callers
nothing calls this directly
Calls
1
send
Method · 0.65
Tested by
no test coverage detected