- Learn Selenium
- Unmesh Gundecha Carl Cocchiaro
- 43字
- 2021-06-24 13:25:48
Registering EventListener with EventFiringWebDriver
For the event executions to be notified by EventListener, we have registered EventListener to the EventFiringWebDriver class. Now the EventFiringWebDriver class will know where to send the notifications. This is done by the following line of code: eventFiringDriver.register(eventListener);