Are there other waits besides leanft.exists() and the following below. I'm back g to wait a lot to determine if something is clickable
My application is a Single Page Javascript application using ReactJS. The challenge is that sometimes the selenium click does not work. It executes the line, but I was not navigated to the next route or page. In addition, it does not throw an exception until you execute the next line expecting to be on the new page. I would have to perform the click again. In essence, I need a way to pass a condition to a click method to verify that if I click on some element I expect to see some other element. If the click does not happen return false and click again. Does that make sense?