How to handle StaleElementReferenceException and ScriptTimeoutException in Selenium WebDriver

preview_player
Показать описание
▶️ 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 :=

✅ Selenium series videos Playlist :=

✅ Maven Tool videos playlist :=

✅ Selenium WebDriver Exceptions Playlist :=

✅ Selenium Grid With Docker:==

✅ Jenkins Tool Series :==

✅ Upload and Download Files in Selenium :=

✅ Excel and CSV files operations :=

✅ Java Language Concepts :=

✅TestNG Framework Videos:=

✅ Become Master in Xpath:=

✅ Protractor series videos playlist :=

✅ Recent Uploads :=

⚡️ Thanks for your support !! ⚡️

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

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

#LearnSeleniumInEasyWay #SeleniumWebDriver
Рекомендации по теме
Комментарии
Автор

Thanks. Try, catch perfectly worked for me.

SineQuaNon
Автор

is there a way to upload files using selenium c# when there is no type=file, apart from autoit?

cric
join shbcf.ru