행위

"Selenium execption"의 두 판 사이의 차이

DB CAFE

(새 문서: Common Exceptions in Selenium Web driver Exception name Description ElementNotVisibleException This type of Selenium exception occurs when an existing element in DOM has a feature set...)
 
 
1번째 줄: 1번째 줄:
Common Exceptions in Selenium Web driver
+
== Common Exceptions in Selenium Web driver ==
Exception name Description
+
 
ElementNotVisibleException This type of Selenium exception occurs when an existing element in DOM has a feature set as hidden.
+
# Exception name Description
ElementNotSelectableException This Selenium exception occurs when an element is presented in the DOM, but you can be able to select. Therefore, it is not possible to interact.
+
# ElementNotVisibleException This type of Selenium exception occurs when an existing element in DOM has a feature set as hidden.
NoSuchElementException This Exception occurs if an element could not be found.
+
# ElementNotSelectableException   This Selenium exception occurs when an element is presented in the DOM, but you can be able to select. Therefore, it is not possible to interact.
NoSuchFrameException This Exception occurs if the frame target to be switched to does not exist.
+
# NoSuchElementException This Exception occurs if an element could not be found.
NoAlertPresentException This Exception occurs when you switch to no presented alert.
+
# NoSuchFrameException   This Exception occurs if the frame target to be switched to does not exist.
NoSuchWindowException This Exception occurs if the window target to be switch does not exist.
+
# NoAlertPresentException This Exception occurs when you switch to no presented alert.
StaleElementReferenceException This Selenium exception occurs happens when the web element is detached from the current DOM.
+
# NoSuchWindowException   This Exception occurs if the window target to be switch does not exist.
SessionNotFoundException The WebDriver is acting after you quit the browser.
+
# StaleElementReferenceException This Selenium exception occurs happens when the web element is detached from the current DOM.
TimeoutException Thrown when there is not enough time for a command to be completed. For Example, the element searched wasn't found in the specified time.
+
# SessionNotFoundException   The WebDriver is acting after you quit the browser.
WebDriverException This Exception takes place when the WebDriver is acting right after you close the browser.
+
# TimeoutException   Thrown when there is not enough time for a command to be completed. For Example, the element searched wasn't found in the specified time.
ConnectionClosedException This type of Exception takes place when there is a disconnection in the driver.
+
# WebDriverException This Exception takes place when the WebDriver is acting right after you close the browser.
ElementClickInterceptedException The command may not be completed as the element receiving the events is concealing the element which was requested clicked.
+
# ConnectionClosedException   This type of Exception takes place when there is a disconnection in the driver.
ElementNotInteractableException This Selenium exception is thrown when any element is presented in the DOM. However, it is impossible to interact with such an element.
+
# ElementClickInterceptedException   The command may not be completed as the element receiving the events is concealing the element which was requested clicked.
ErrorInResponseException This happens while interacting with the Firefox extension or the remote driver server.
+
# ElementNotInteractableException This Selenium exception is thrown when any element is presented in the DOM. However, it is impossible to interact with such an element.
ErrorHandler.UnknownServerException Exception is used as a placeholder in case if the server returns an error without a stack trace.
+
# ErrorInResponseException   This happens while interacting with the Firefox extension or the remote driver server.
ImeActivationFailedException This expectation will occur when IME engine activation has failed.
+
# ErrorHandler.UnknownServerException Exception is used as a placeholder in case if the server returns an error without a stack trace.
ImeNotAvailableException It takes place when IME support is unavailable.
+
# ImeActivationFailedException   This expectation will occur when IME engine activation has failed.
InsecureCertificateException Navigation made the user agent to hit a certificate warning. This can cause by an invalid or expired TLS certificate.
+
# ImeNotAvailableException   It takes place when IME support is unavailable.
InvalidArgumentException It occurs when an argument does not belong to the expected type.
+
# InsecureCertificateException   Navigation made the user agent to hit a certificate warning. This can cause by an invalid or expired TLS certificate.
InvalidCookieDomainException This happens when you try to add a cookie under a different domain instead of current URL.
+
# InvalidArgumentException   It occurs when an argument does not belong to the expected type.
InvalidCoordinatesException This type of Exception matches an interacting operation that is not valid.
+
# InvalidCookieDomainException   This happens when you try to add a cookie under a different domain instead of current URL.
InvalidElementStateExceptio It occurs when command can't be finished when the element is invalid.
+
# InvalidCoordinatesException This type of Exception matches an interacting operation that is not valid.
InvalidSessionIdException This Exception took place when the given session ID is not included in the list of active sessions. It means the session does not exist or is inactive either.
+
# InvalidElementStateExceptio It occurs when command can't be finished when the element is invalid.
InvalidSwitchToTargetException This occurs when the frame or window target to be switched does not exist.
+
# InvalidSessionIdException   This Exception took place when the given session ID is not included in the list of active sessions. It means the session does not exist or is inactive either.
JavascriptException This issue occurs while executing JavaScript given by the user.
+
# InvalidSwitchToTargetException This occurs when the frame or window target to be switched does not exist.
JsonException It occurs when you afford to get the session when the session is not created.
+
# JavascriptException This issue occurs while executing JavaScript given by the user.
NoSuchAttributeException This kind of Exception occurs when the attribute of an element could not be found.
+
# JsonException   It occurs when you afford to get the session when the session is not created.
MoveTargetOutOfBoundsException It takes place if the target provided to the ActionChains move() methodology is not valid. For Example, out of the document.
+
# NoSuchAttributeException   This kind of Exception occurs when the attribute of an element could not be found.
NoSuchContextException ContextAware does mobile device testing.
+
# MoveTargetOutOfBoundsException It takes place if the target provided to the ActionChains move() methodology is not valid. For Example, out of the document.
NoSuchCookieException This Exception occurs when no cookie matching with the given pathname found for all the associated cookies of the currently browsing document.
+
# NoSuchContextException ContextAware does mobile device testing.
NotFoundException This Exception is a subclass of WebDriverException. This will occur when an element on the DOM does not exist.
+
# NoSuchCookieException   This Exception occurs when no cookie matching with the given pathname found for all the associated cookies of the currently browsing document.
RemoteDriverServerException This Selenium exception is thrown when the server is not responding because of the problem that the capabilities described are not proper.
+
# NotFoundException   This Exception is a subclass of WebDriverException. This will occur when an element on the DOM does not exist.
ScreenshotException It is not possible to capture a screen.
+
# RemoteDriverServerException This Selenium exception is thrown when the server is not responding because of the problem that the capabilities described are not proper.
SessionNotCreatedException It happens when a new session could not be successfully created.
+
# ScreenshotException It is not possible to capture a screen.
UnableToSetCookieException This occurs if a driver is unable to set a cookie.
+
# SessionNotCreatedException It happens when a new session could not be successfully created.
UnexpectedTagNameException Happens if a support class did not get a web element as expected.
+
# UnableToSetCookieException This occurs if a driver is unable to set a cookie.
UnhandledAlertException This expectation occurs when there is an alert, but WebDriver is not able to perform Alert operation.
+
# UnexpectedTagNameException Happens if a support class did not get a web element as expected.
UnexpectedAlertPresentException It occurs when there is the appearance of an unexpected alert.
+
# UnhandledAlertException This expectation occurs when there is an alert, but WebDriver is not able to perform Alert operation.
UnknownMethodException This Exception happens when the requested command matches with a known URL but and not matching with a methodology for a specific URL.
+
# UnexpectedAlertPresentException It occurs when there is the appearance of an unexpected alert.
UnreachableBrowserException This Exception occurs only when the browser is not able to be opened or crashed because of some reason.
+
# UnknownMethodException This Exception happens when the requested command matches with a known URL but and not matching with a methodology for a specific URL.
UnsupportedCommandException This occurs when remote WebDriver does n't send valid commands as expected.
+
# UnreachableBrowserException This Exception occurs only when the browser is not able to be opened or crashed because of some reason.
 +
# UnsupportedCommandException This occurs when remote WebDriver does n't send valid commands as expected.#

2021년 5월 23일 (일) 18:07 기준 최신판

thumb_up 추천메뉴 바로가기


Common Exceptions in Selenium Web driver[편집]

  1. Exception name Description
  2. ElementNotVisibleException This type of Selenium exception occurs when an existing element in DOM has a feature set as hidden.
  3. ElementNotSelectableException This Selenium exception occurs when an element is presented in the DOM, but you can be able to select. Therefore, it is not possible to interact.
  4. NoSuchElementException This Exception occurs if an element could not be found.
  5. NoSuchFrameException This Exception occurs if the frame target to be switched to does not exist.
  6. NoAlertPresentException This Exception occurs when you switch to no presented alert.
  7. NoSuchWindowException This Exception occurs if the window target to be switch does not exist.
  8. StaleElementReferenceException This Selenium exception occurs happens when the web element is detached from the current DOM.
  9. SessionNotFoundException The WebDriver is acting after you quit the browser.
  10. TimeoutException Thrown when there is not enough time for a command to be completed. For Example, the element searched wasn't found in the specified time.
  11. WebDriverException This Exception takes place when the WebDriver is acting right after you close the browser.
  12. ConnectionClosedException This type of Exception takes place when there is a disconnection in the driver.
  13. ElementClickInterceptedException The command may not be completed as the element receiving the events is concealing the element which was requested clicked.
  14. ElementNotInteractableException This Selenium exception is thrown when any element is presented in the DOM. However, it is impossible to interact with such an element.
  15. ErrorInResponseException This happens while interacting with the Firefox extension or the remote driver server.
  16. ErrorHandler.UnknownServerException Exception is used as a placeholder in case if the server returns an error without a stack trace.
  17. ImeActivationFailedException This expectation will occur when IME engine activation has failed.
  18. ImeNotAvailableException It takes place when IME support is unavailable.
  19. InsecureCertificateException Navigation made the user agent to hit a certificate warning. This can cause by an invalid or expired TLS certificate.
  20. InvalidArgumentException It occurs when an argument does not belong to the expected type.
  21. InvalidCookieDomainException This happens when you try to add a cookie under a different domain instead of current URL.
  22. InvalidCoordinatesException This type of Exception matches an interacting operation that is not valid.
  23. InvalidElementStateExceptio It occurs when command can't be finished when the element is invalid.
  24. InvalidSessionIdException This Exception took place when the given session ID is not included in the list of active sessions. It means the session does not exist or is inactive either.
  25. InvalidSwitchToTargetException This occurs when the frame or window target to be switched does not exist.
  26. JavascriptException This issue occurs while executing JavaScript given by the user.
  27. JsonException It occurs when you afford to get the session when the session is not created.
  28. NoSuchAttributeException This kind of Exception occurs when the attribute of an element could not be found.
  29. MoveTargetOutOfBoundsException It takes place if the target provided to the ActionChains move() methodology is not valid. For Example, out of the document.
  30. NoSuchContextException ContextAware does mobile device testing.
  31. NoSuchCookieException This Exception occurs when no cookie matching with the given pathname found for all the associated cookies of the currently browsing document.
  32. NotFoundException This Exception is a subclass of WebDriverException. This will occur when an element on the DOM does not exist.
  33. RemoteDriverServerException This Selenium exception is thrown when the server is not responding because of the problem that the capabilities described are not proper.
  34. ScreenshotException It is not possible to capture a screen.
  35. SessionNotCreatedException It happens when a new session could not be successfully created.
  36. UnableToSetCookieException This occurs if a driver is unable to set a cookie.
  37. UnexpectedTagNameException Happens if a support class did not get a web element as expected.
  38. UnhandledAlertException This expectation occurs when there is an alert, but WebDriver is not able to perform Alert operation.
  39. UnexpectedAlertPresentException It occurs when there is the appearance of an unexpected alert.
  40. UnknownMethodException This Exception happens when the requested command matches with a known URL but and not matching with a methodology for a specific URL.
  41. UnreachableBrowserException This Exception occurs only when the browser is not able to be opened or crashed because of some reason.
  42. UnsupportedCommandException This occurs when remote WebDriver does n't send valid commands as expected.#