+91 9790664230
kumar.arun211@gmail.com

Tag: Exception handling

Blog to learn python and selenium

Top 5 commonly encountered exceptions in Python Selenium WebDriver

1. NoSuchElementException selenium.common.exceptions.NoSuchElementException Base: selenium.common.exceptions.WebDriverException This exception can be imported as ‘from selenium.common.exceptions import NoSuchElementException’ This exception is raised or thrown when element could not be found. There could many possible reasons for this exception to occur 1. Element locator is not correct 2. Page is not yet loaded 3. Element is not yet displayed…
Read more

How to handle exceptions in Selenium Python WebDriver

An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s instructions. Exception handling is not new and it is the process of responding to the occurrence of exceptions that may happen during execution of our program. For example, when we are trying to click…
Read more

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy