Mixing implicit wait and explicit wait will result in unexpected wait timings. If implicit wait is set to 15 seconds and explicit wait is set to 25 seconds for an element. As we are mixing waits, explicit wait won't wait just 25 seconds for an element, instead it waits for an unexpected time say more than 30 seconds etc. Hence it is not recommended to use both waits.
Sir I'm fan of your teaching. So smooth and to the point explanation.
Thank you :)
You are a gem. Awesome explanation. keep doing the good work.
Thanks a ton
Excellent explanation with proper example hats off to you sir , I was looking for such a practical example thank-you very much
Welcome :)
U explained like a gem 💎 sir..
Thanks a ton
thanks you so much, your explanation is very clear.
Glad to hear that!
Nice and simple to understand thanks
You are welcome :)
nice explanation
Thank you :)
WebDriverWait Wait=new WebDriverWait(driver,Duration.ofSeconds(5))....old one is deprecated
Yes
what happen if we use both implicit and explicit wait plz explain
Mixing implicit wait and explicit wait will result in unexpected wait timings. If implicit wait is set to 15 seconds and explicit wait is set to 25 seconds for an element. As we are mixing waits, explicit wait won't wait just 25 seconds for an element, instead it waits for an unexpected time say more than 30 seconds etc. Hence it is not recommended to use both waits.