G
G
Gena2019-02-27 10:28:06
Java
Gena, 2019-02-27 10:28:06

How to make a simple waiting in selenium autotests?

Good afternoon.
Please tell me how to make a simple wait in autotests, which just waits for n seconds. The waiter is just waiting for the end of time on the timer, and not waiting for some element using WebDriverWait.
Well, Thread.sleep() is also not an option :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Eremin, 2019-02-27
@EreminD

Well, Thread.sleep() is also not an option :)

and what?
The task sounds like the thread should just stand and wait for the given time
. This is Thread.sleep()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question