What is the difference between setSpeed() and sleep() methods?
Answers
Answered by
0
Thread.sleep : It causes the current thread to suspend execution for a specified period. So the main difference between them is setSpeed sets a speed while will apply delay time before every selenium operation takes place. But one thread.sleep() will set up wait only for once.
Similar questions