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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs