0% found this document useful (0 votes)
30 views1 page

Exception in Selenium

Uploaded by

chavankalpesh009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

Exception in Selenium

Uploaded by

chavankalpesh009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Exception in selenium

1. NoSuchElementException: This exception is thrown when the WebDriver is


unable to locate an element on the web page.
2. StaleElementReferenceException: This exception is thrown when an element is
no longer attached to the DOM, usually as a result of a page refresh or
navigation.
3. TimeoutException: This exception is thrown when a command does not
complete within the expected time.
4. ElementNotVisibleException: This exception is thrown when an element is
present on the page, but not visible to the user.
5. ElementNotInteractableException: This exception is thrown when an element
is present on the page, but not interactable.
6. NoSuchWindowException: This exception is thrown when the WebDriver is
unable to locate a window or frame.
7. WebDriverException: This is a general exception that can be thrown for a
variety of reasons, such as network issues, driver errors, or unexpected
browser behavior.

You might also like