Module 18 - Stale Element exception on multiple lines | Selenium Forum
20% Off Lockdown Learning Discount Avail now

Module 18 - Stale Element exception on multiple lines

M
mp.mca2005 Post on 23/05/2020

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

S

Instructor

Support Team 5 days go

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

M
mp.mca2005 1 days go

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

Related Post