How to pause a test execution for 5 seconds at a specific point?
Answer / Rohit Rathi
To pause the test execution in Selenium, you can use the Thread.sleep() method of Java. Pass the number of milliseconds you want to wait as an argument (in this case, 5000 for 5 seconds).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the selenium ide and what is it used for?
Which webdriver implementation claims to be the fastest?
What is selenium?
Can we use selenium grid for performance testing?
What the webdriver supported mobile testing drivers do you know?
Which is the command used for displaying the values of a variable into the output console or log?
How do you perform drag and drop operation in webdriver?
Why and how will you use an excel sheet in your project?
Which are the operating systems supported by selenium?
How are selenium ide, webdriver and selenium rc different from each other?
What are the types of webdriver apis available in selenium?
Do you know a way to refresh browser by using selenium?