StaleElementReferenceException: Element is no longer attached to the DOM: Selenium
问题 I am completely new to automation testing. After referring some tutorials, I have created an automated test case. The test case I try to automate is to check whether the sorting worked correctly after I click on one of the headers of a table. My automated test case fails with the following exception: org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM Command duration or timeout: 12 milliseconds For documentation on this error, please visit: http:/