Recover after an element goes stale
Automation taskMediumPython onlyAsked in: Accenture, Capgemini, TCS
Interviewers ask: "What is a stale element, and how do you fix it?" Find an element, refresh the page, watch the old reference fail with StaleElementReferenceException, then find the element again. The refresh replaced the element, so the old reference points at nothing.