Common Selenium Exceptions :
1-NoSuchSessionException :
When Webdriver perform action immediately after closing the
browser, NoSuchSessionException Occurs.
2-StaleElementReferenceException:
When Element is no longer present on the DOM page. Example: The User has navigated to another page
3-NoSuchElementException:
When WebDriver is not able to find the element using
findElement or findElements() method then NoSuchElementException occurs.
4-NoAlertPresentException:
When WebDriver tries
to switch to invalid alert , NoAlertPresentException Occurs
5-NoSuchWindowException:
When WebDriver tries
to switch to invalid window , NoSuchWindowException Occurs.
6-NoSuchFrameException:
When WebDriver tries
to switch to invalid Frame , NoSuchFrameException Occurs.
7-WebDriverException:
Mostly when driver enter the URL which does not contain http or https , driver.get(“url”) method throws WebDriver
Exception.
8-TimeOutException:
When ExplicitWait condition does not meet within polling
period,it gets TimeOutException.
The article is so appealing. You should read this article before choosing the Big data cloud solutions you want to learn.
ReplyDelete