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

▼ Show 1 Answer

0 votes
by
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.
Selenium
Learn More with Madanswer

Related questions

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