I have the below code to logout of the application where Logout is HtmlAnchor element.
I want to know if I can capture this click event.to do some additional operations after click. I am using this line in many of the test methods. If I am able to capture this click event I can do those additional operations in common place without having to modify each of the existing test method.
Let me know if it is possible.Thanks