MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / _getEvents

Function _getEvents

javascript/selenium-webdriver/test/actions_test.js:233–239  ·  view source on GitHub ↗
(driver)

Source from the content-addressed store, hash-verified

231 })
232
233 async function _getEvents(driver) {
234 await driver.wait(async () => {
235 const events = await driver.executeScript('return allEvents.events;')
236 return events.length > 0
237 }, 5000)
238 return (await driver.executeScript('return allEvents.events;')) || []
239 }
240 })
241})

Callers 1

actions_test.jsFile · 0.70

Calls 2

executeScriptMethod · 0.65
waitMethod · 0.45

Tested by

no test coverage detected