Selenium Exceptions as the Way to Get More Robust Testing Scripts: the Truth

Written by Rahul Jain | Published 2021/04/15
Tech Story Tags: selenium | selenium-webdriver | testing | test-automation | good-company | quality-assurance | code-quality | optimization

TLDR Selenium exceptions are extensively used for handling error scenarios and avoiding web application failures. An exception (also referred as fault) is an unprecedented event that occurs during the process of program execution. When an exception occurs, normal program execution halts and the corresponding exception handler is executed. Selenium Exceptions Cheat Sheet is an exhaustive list that can be helpful when you encounter exceptions in your code. The most common Selenium exception, ElementClickInterceptedException, is thrown when the target element is present on the DOM but it cannot be interacted with the DOM.via the TL;DR App

no story

Written by Rahul Jain | Automation Testing Enthusiast
Published by HackerNoon on 2021/04/15