What does an explicit wait throw when time runs out?
QuizEasyAsked in: Accenture, TCS, Wipro
An explicit wait for an element to be visible runs out of time. Which exception is thrown?
- TimeoutException
- NoSuchElementException
- InterruptedException
- No exception; it returns false
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.