*Iam getting a stale element Exception
in this part:
I am getting the id from the table
this is the part where it leads to stale element:
latestId.click();
I have tried: using the below code:
WebDriverWait wait = new WebDriverWait(driver,10);```
wait.until(ExpectedConditions.refreshed(ExpectedConditions.stalenessOf(latestId)));
Basically in the method since both the id.click() and createdvalue("id",latestid.gettexxt()) is there it is causing the problem.
Can i get a solution for this ..Can Add more information if required*