B
B
Belavor2020-03-06 19:52:33
Python
Belavor, 2020-03-06 19:52:33

How to make selenium wait 5 seconds after a click?

how to make selenium wait 5 seconds after click?
I immediately redirect to Next Page.
after an instant click, the site I need just doesn’t have time to log in.
in puppeteer there is just waitFor () and here I didn’t find the norms / didn’t apply the solution correctly

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kit Scribe, 2020-03-06
@Belavor

I think selenium has a wait() method.
But you can just import the time library and do time.sleep(5)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question