July 2019
Intermediate to advanced
536 pages
12h 57m
English
The WebDriverEventListener interface has all the event methods declared. The EventFiringWebDriver class, as soon as it realizes an event has occurred, invokes the registered method of WebDriverEventListener. Here, we have created an IAmTheEventListener named class and have implemented WebDriverEventListener. Now we need to provide implementation for all the methods declared in it. Currently, in WebDriverEventListener, there are 15 methods. We will discuss each one of them shortly. Make sure the IDE provides us with the dummy implementation of these methods. The class that we have created with all 15 overridden methods is as follows (we have provided implementations for a couple of methods as an example): ...
Read now
Unlock full access