DEV Community

Jose Martin
Jose Martin

Posted on

If click() not working try again

I want a simple solution that will click on button (login button, register button, submit button, etc) up to three times if click() doesn’t work.

Sometimes explicit wait won’t work.

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay