![]() |
|
[Python] Stale element in selenium - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Stale element in selenium (/showthread.php?tid=6123640) |
Stale element in selenium - roosiinfidel09 - Nov 26, 2020 Please run this code if possible for you. This search gives names of people who are in a ban list of some sort. My code returns two names. My question is this. When I click on the first name, see his details, come back to the results to click on the second name, the element has become stale by then. I have tried Webdriverwait, implicitly wait, etc. I cannot use individual xpaths because for some other search there might be many results. So, how do I come back to result page and click on the next name, so on on so forth? Code from selenium import webdriverRE: Stale element in selenium - john__john - Aug 19, 2021 I can help you, PM me pls |