How to handle StaleElementReferenceException and ScriptTimeoutException in Selenium WebDriver

Publié le: 07 janvier 2023
sur la chaîne: AJ AUTOMATION
5,126
56

▶️ In this video I have shown ways that you can try to handle StaleElementReferenceException and ScriptTimeoutException in Selenium.
▶️ For StaleElementReferenceException we need to recreate the reference for the WebElement which has become stale using try catch block.
▶️ We need to change the script timeout for ScriptTimeoutException using driver capabilities.


======================================
***************AJ AUTOMATION*************
======================================
Hi guys, Please share and Like the content whichever you find informative to reach more beginner candidates learning Test Automation. Thanks for your Support !!

🔔 Learn automation from basic !! 🔔

✅ Let's Learn the Concept in 5 To 10 Mins :=
   • Test Automation Interviews Preparation - L...  

✅ Selenium series videos Playlist :=
   • Selenium tutorial for beginners - Most Imp...  

✅ Maven Tool videos playlist :=
   • Maven Tool - Learn Basics To Advanced topi...  

✅ Selenium WebDriver Exceptions Playlist :=
   • Selenium WebDriver Exceptions  

✅ Selenium Grid With Docker:==
   • Selenium Grid With Docker - Learn To Setup...  

✅ Jenkins Tool Series :==
   • Jenkins Tool Sessions - Learn Jenkins IMP ...  

✅ Upload and Download Files in Selenium :=
   • Selenium WebDriver - Upload and Download f...  

✅ Excel and CSV files operations :=
   • Excel and CSV -- Read Write Operations  

✅ Java Language Concepts :=
   • Java Language Concepts - By AjAutomation  

✅TestNG Framework Videos:=
   • TestNG Introduction and Why we use TestNG ...  

✅ Become Master in Xpath:=
   • Xpath Introduction  

✅ Protractor series videos playlist :=
   • Let's Learn Protractor - By AjAutomation  

✅ Recent Uploads :=
   • Recent Uploaded Videos  

✅ GitHub Repo:= https://github.com/ajautomation

⚡️ Thanks for your support !! ⚡️

======================================
*************** Thanks for watching !!*************
======================================


⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

#LearnSeleniumInEasyWay #SeleniumWebDriver


Sur cette page du site, vous pouvez voir la vidéo en ligne How to handle StaleElementReferenceException and ScriptTimeoutException in Selenium WebDriver durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur AJ AUTOMATION 07 janvier 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,126 fois et il a aimé 56 téléspectateurs. Bon visionnage!