Skip to content

Commit 5fba3a2

Browse files
committed
[py]: Remove RemoteDriverServerException
1 parent 1d2ea04 commit 5fba3a2

File tree

3 files changed

+14
-21
lines changed

3 files changed

+14
-21
lines changed

py/docs/source/common/selenium.common.exceptions.rst

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33

44
.. automodule:: selenium.common.exceptions
55

6-
7-
8-
96

10-
11-
12-
137

14-
15-
16-
178

18-
19-
9+
10+
11+
12+
13+
14+
15+
16+
17+
18+
19+
2020
.. rubric:: Exceptions
2121

2222
.. autosummary::
23-
23+
2424
ElementClickInterceptedException
2525
ElementNotInteractableException
2626
ElementNotSelectableException
@@ -44,7 +44,6 @@
4444
NoSuchFrameException
4545
NoSuchShadowRootException
4646
NoSuchWindowException
47-
RemoteDriverServerException
4847
ScreenshotException
4948
SessionNotCreatedException
5049
StaleElementReferenceException
@@ -54,8 +53,8 @@
5453
UnexpectedTagNameException
5554
UnknownMethodException
5655
WebDriverException
57-
58-
56+
57+
5958

6059

6160

py/selenium/common/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
from .exceptions import NoSuchFrameException
3939
from .exceptions import NoSuchShadowRootException
4040
from .exceptions import NoSuchWindowException
41-
from .exceptions import RemoteDriverServerException
4241
from .exceptions import ScreenshotException
4342
from .exceptions import SessionNotCreatedException
4443
from .exceptions import StaleElementReferenceException
@@ -66,7 +65,6 @@
6665
"ElementNotSelectableException",
6766
"InvalidCookieDomainException",
6867
"UnableToSetCookieException",
69-
"RemoteDriverServerException",
7068
"TimeoutException",
7169
"MoveTargetOutOfBoundsException",
7270
"UnexpectedTagNameException",

py/selenium/common/exceptions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,6 @@ class UnableToSetCookieException(WebDriverException):
193193
"""
194194

195195

196-
class RemoteDriverServerException(WebDriverException):
197-
"""Todo: Remove this class? it looks unused."""
198-
199-
200196
class TimeoutException(WebDriverException):
201197
"""
202198
Thrown when a command does not complete in enough time.

0 commit comments

Comments
 (0)