How To Handle Stale Element Exception in Selenium(With Code) |. Day 27

Опубликовано: 01 Январь 1970
на канале: The Testing Academy
13,124
96

✅ Join us - https://sendfox.com/thetestingacademy

In this video, We are going to learn How To Handle Stale Element Exception in Selenium(with code)

🚀 Day 30 Task : Stale Element Exception in Selenium(With Code).
🚀 All Task List : https://scrolltest.com/automation/task
🚀 Watch Full Playlist : https://apitesting.co/30days
🚀Download MindMap : https://scrolltest.com/Titb

✅ What is StaleElementReferenceException?
It means decay, old and no fresh, It basically means element is no longer available in DOM.
If the DOM changes then the WebElement goes stale.
If you are trying to access the element, it will give - StaleElementReferenceException

✅ Causes of Stale Element Reference Exception
element is no longer attached to the DOM.
element has been deleted entirely.

✅ How To Handle Stale Element Reference Exception in Selenium
1. Page Refresh and Try to check again.
2. Re try(with for loop)

-----------------------------------------------------
👪 Join our Community - http://bit.ly/learntesting2019
✅ Automation Tester Community - https://thetestingacademy.com
🐦Follow us on Twitter -   / itstechmode  
📖 Like us on Facebook -   / scrolltest  
🎤 Listen to our Podcast - https://anchor.fm/thetestingacademy
------------------------------------------------------

#automationtesting #manualtesting #testautomation #thetestingacademy #scrolltest


🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌

✅Selenium Training and Certification -
https://scrolltest.com/go/edureka

✅Learn Jenkins for QA -
https://bit.ly/learnjenkins-p1

✅Programming Java -
https://bit.ly/learnjava2020-p1

✅Test Automation -
https://bit.ly/learnautomation2020

✅API Testing -
https://www.learnapitesting.com

✅Cypress Tutorial with LIVE Projects -
https://cypresstutorial.com