What will the output of using implicit and explicit wait together using Selenium?

325 views Asked by At

How Selenium will behave for following conditions:

WHEN ELEMENT IS FOUND AT 6 SEC --Implicit wait = 5sec Explicit wait= 10 sec

WHEN ELEMENT IS FOUND AT 6 SEC --Implicit wait = 10sec Explicit wait= 5 sec

WHEN ELEMENT IS FOUND AT 11 SEC --Implicit wait = 10sec Explicit wait= 10 sec

1

There are 1 answers

0
undetected Selenium On

To clear off all the speculations, as per the Selenium official docs:

Warning: Do not mix implicit and explicit waits. Doing so can cause unpredictable wait times. For example, setting an implicit wait of 10 seconds and an explicit wait of 15 seconds could cause a timeout to occur after 20 seconds.