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

Selenium Exception

Uploaded by

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

Selenium Exception

Uploaded by

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

ElementNotSelectableException: An element is disabled (can not be clicked/selected)

in spite of being present in the DOM

ElementNotInteractableException: An element is not in a state, where it can be


interacted with (can not be clicked or able to send keys)
in spite of it being present in the DOM

ElementNotVisibleException: In spite of the element being present in the DOM, it is


not visible (can not be interactive). For example,
elements defined in HTML with type =”hidden”. It is a subclass of the
ElementNotInteractableException

NoSuchElementException: Webdriver is not able to determine the elements during


runtime, i.e., the FindBy method cannot find
a particular component

NoSuchFrameException: Webdriver attempts to switch to an invalid frame, which is


unavailable

NoAlertPresentException: Webdriver is trying to switch to an invalid alert, which


is unavailable

NoSuchWindowException: Webdriver is trying to switch to an invalid window, which is


unavailable

StaleElementReferenceException: The referenced element is no longer present on the


DOM page (a reference to a component is now Stale).
For example, the item belongs to a different frame than the current one or the user
has navigated away to another page

SessionNotFoundException: Webdriver is acting immediately after ‘quitting’ the


browser

TimeoutException: The command did not complete in the specified time. For example,
the element didn’t display at the specified time.
This is especially encountered when working with waits

WebDriverException: Webdriver is acting immediately after ‘closing’ the browser

You might also like