in Selenium by
What happen if you mix both Thread.Sleep and WebDriver Waits in a Selenium Script?

▼ Show 1 Answer

0 votes
Thread.sleep() method can be used to pause the execution for specified time in milliseconds

If we use WebDriver waits along with Thread.sleep() method then webdriver will hold the execution for specified time and then will follow other wait. Test execution time will become more, if we mix both waits.
Learn More with Madanswer

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales