testingrequired / webdriver

A webdriver library
MIT License
0 stars 0 forks source link

WebDriver extends EventEmitter #24

Closed kyleect closed 4 years ago

kyleect commented 4 years ago

Everything has a reference to webdriver

kyleect commented 4 years ago

Events

Event Payload
sessionStart capabilities
sessionStart:success sessionId
sessionStart:failure error
sessionEnd sessionId
command url, method, requestBody?
command:success responseBody, response, url, method
command:fail error, response
command:end response, url, method
findElement by
findElement:success by, elementId
findElement:fail by
findElementFromElement fromElementId, by
findElementFromElement:success fromElementId, by, elementId
findElementFromElement:fail fromElementId, by
findElements by
findElements:success by, [...elementIds]
findElementsFromElement fromElementId, by
findElementsFromElement:success fromElementId, by, [...elementIds]
kyleect commented 4 years ago

Done