Diagnose a wait that times out
Automation taskMediumPython onlyAsked in: Accenture
Interviewers ask: "Your explicit wait times out. How do you find out why?" Catch the TimeoutException, read what the wait expected, and compare it with what the page really does. Then fix the wait, for example a longer timeout or a better condition, instead of adding a sleep. In this lesson a 2-second wait on an element that takes 15 seconds fails, and then a long enough wait reads its message.