Achieve interview question

How do you handle stale elements?