I am getting stale element exception on lines 166, 176,178, 181, even when I am extracting their path again .Please provide me a suitable solution. I am stuck.
Thanks
Instructor
Ashish Thakur Replied on 25/05/2020
Let page load 100%
Although its a very crude solution but try putting
Thread.sleep(5000)
Or try to use waitforpagetolod function which I made in videos
Thanks, I have already used waitforpagetoload before raising my question, but unfortunately that didn't worked. Then as suggested by you, I used Thread.sleep(5000) and now my program is running fine.
Thanks