Science, asked by mdsohailkhan6207, 1 year ago

What is the difference between setSpeed() and sleep() methods?

Answers

Answered by cadenkinter1
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