'stale element reference: element is not attached to the page document' error when trying to click on a link
We have an a test case where a button is supposed to be clicked, and we are getting the following error when clicking a element in Chrome...
[INFO] Locator GMIIRedesign_AwardSummary_CAN.Button.DeleteCAN was found
[INFO] Step index=291 FAIL 1285(ms) [Click HALT GMIIRedesign_AwardSummary_CAN.Button.DeleteCAN] message='stale element reference: element is not attached to the page document
Driver: Chrome Driver
Driver verison: 97.0.4692.71'
...the relative xpath being used (please see screenshot below) is correct but it keeps giving this error. This was reproduced in Chrome and not in Firefox.
Please sign in to leave a comment.