The .NET WebBrowser has a Navigated event. Is there a similar event for the Selenium WebDriver? I've searched but have not found anything.
WebDriver.Support library contains an EventFiringWebDriver wrapper for the IWebDriver interface. That wrapper provides the Navigated event you are looking for.
IWebDriver yourDriver;
...
EventFiringWebDriver eventDriver = new EventFiringWebDriver(yourDriver);
eventDriver.Navigated += navigatedHandler;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With