It’s a WebDriver error that occurs because the referenced web element is no longer attached to the DOM
Some of the methods to avoid the exception
- Use Explicit wait
- Use try catch
- By using POM
@findBy Annotation - use refresh command in the code
Interviews1 answer
It’s a WebDriver error that occurs because the referenced web element is no longer attached to the DOM
Some of the methods to avoid the exception