📜  陈旧元素异常 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:32.541000             🧑  作者: Mango

代码示例1
There are two reasons for Stale element reference:
The element has been deleted entirely.
The element is no longer attached to the DOM.

We face this stale element reference exception when the element we are 
interacting is destroyed and then recreated again. When this happens 
the reference of the element in the DOM becomes stale. So, we are not able to
get the reference to the element.