Yo girl & man,
I’ve a problem (Youston).
I find a element, with method : Driver.FindElement(By.XPath(…)
Next line, I try: element.click()
org.openqa.selenium.StaleElementReferenceException
Yet the element is still there (in debug I see it)
I’ve read some helps on the web, but I don’t understand the problem.
And I don’t know how to solve this problem
Many many thanks
David
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/217d70c44eb84ebe8a555afdd198de09%40cph.be.
Thanks for response
If I scroll top this element before to click it, is the DOM refreshed ?
De : seleniu...@googlegroups.com <seleniu...@googlegroups.com>
De la part de Vinod Tanguturi
Envoyé : jeudi 12 janvier 2023 14:47
À : seleniu...@googlegroups.com
Objet : Re: [selenium-users] c# - selenium : stale element reference
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAOgFQ2kdwteCOqR4NmP13qvesU9qoyMA_GvSJOkgdjdHjd_eKA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/086334de913f4e0faf83b4af2e1807b7%40cph.be.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAP_DPkGt3Jt_3GB7rt%2BzDKycUqKptj5%3DiwuGQ6_3-HXYgLePAg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/086334de913f4e0faf83b4af2e1807b7%40cph.be.