Categories

1 Answer

Aug 22, 2019
By using java.lang.Thread.sleep(long milliseconds) method we could pause the execution for a specific time. To pause 5 seconds, we need to pass parameter as 5000 (5 seconds)

Thread.sleep(5000)

1

Thread.sleep(5000)
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

Madanswer
Aug 21, 2019 in Selenium
Aug 22, 2019 in Selenium
Aug 22, 2019 in Selenium
...