Skip to content

Commit

Permalink
[py]: Remove RemoteDriverServerException
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Oct 3, 2022
1 parent 1d2ea04 commit 5fba3a2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
29 changes: 14 additions & 15 deletions py/docs/source/common/selenium.common.exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@

.. automodule:: selenium.common.exceptions


























.. rubric:: Exceptions

.. autosummary::

ElementClickInterceptedException
ElementNotInteractableException
ElementNotSelectableException
Expand All @@ -44,7 +44,6 @@
NoSuchFrameException
NoSuchShadowRootException
NoSuchWindowException
RemoteDriverServerException
ScreenshotException
SessionNotCreatedException
StaleElementReferenceException
Expand All @@ -54,8 +53,8 @@
UnexpectedTagNameException
UnknownMethodException
WebDriverException





2 changes: 0 additions & 2 deletions py/selenium/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
from .exceptions import NoSuchFrameException
from .exceptions import NoSuchShadowRootException
from .exceptions import NoSuchWindowException
from .exceptions import RemoteDriverServerException
from .exceptions import ScreenshotException
from .exceptions import SessionNotCreatedException
from .exceptions import StaleElementReferenceException
Expand Down Expand Up @@ -66,7 +65,6 @@
"ElementNotSelectableException",
"InvalidCookieDomainException",
"UnableToSetCookieException",
"RemoteDriverServerException",
"TimeoutException",
"MoveTargetOutOfBoundsException",
"UnexpectedTagNameException",
Expand Down
4 changes: 0 additions & 4 deletions py/selenium/common/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,6 @@ class UnableToSetCookieException(WebDriverException):
"""


class RemoteDriverServerException(WebDriverException):
"""Todo: Remove this class? it looks unused."""


class TimeoutException(WebDriverException):
"""
Thrown when a command does not complete in enough time.
Expand Down

0 comments on commit 5fba3a2

Please sign in to comment.