Reputation: 47
I am trying to click on a button but I am getting element is not attached exception even when element is present and I am able to locate element through firebug on Firefox. I am using chrome browser. Is there any way of resolving this issue
Upvotes: 0
Views: 52
Reputation: 132
This is probably because of ajax or javascript changed the dom. Refer stale element reference. We are using QAF and it deals with dynamic elements and such kind of exceptions. Before using QAF we were also facing similar stale element reference exceptions and other issues.
Upvotes: 1