I have a button in a webpage which is not always there. I want to click it if it’s there. If the button is absent, I want to keep the test running.
I tried using VerifyElementIsVisible and such but they wait a while before continuing.
Currently I use FailureHandling.Optional on Click action but I would like to know a better method to do it, preferable one that doesn’t wait before executing rest of the code.