Skip to content

Commit 24a16fb

Browse files
authored
1 parent 43b3d24 commit 24a16fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/selenium/common/exceptions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class NoSuchElementException(WebDriverException):
7575
def __init__(
7676
self, msg: Optional[str] = None, screen: Optional[str] = None, stacktrace: Optional[Sequence[str]] = None
7777
) -> None:
78-
with_support = f"{msg}; {SUPPORT_MSG} {ERROR_URL}#no-such-element-exception"
78+
with_support = f"{msg}; {SUPPORT_MSG} {ERROR_URL}#nosuchelementexception"
7979

8080
super().__init__(with_support, screen, stacktrace)
8181

@@ -114,7 +114,7 @@ class StaleElementReferenceException(WebDriverException):
114114
def __init__(
115115
self, msg: Optional[str] = None, screen: Optional[str] = None, stacktrace: Optional[Sequence[str]] = None
116116
) -> None:
117-
with_support = f"{msg}; {SUPPORT_MSG} {ERROR_URL}#stale-element-reference-exception"
117+
with_support = f"{msg}; {SUPPORT_MSG} {ERROR_URL}#staleelementreferenceexception"
118118

119119
super().__init__(with_support, screen, stacktrace)
120120

@@ -213,7 +213,7 @@ class InvalidSelectorException(WebDriverException):
213213
def __init__(
214214
self, msg: Optional[str] = None, screen: Optional[str] = None, stacktrace: Optional[Sequence[str]] = None
215215
) -> None:
216-
with_support = f"{msg}; {SUPPORT_MSG} {ERROR_URL}#invalid-selector-exception"
216+
with_support = f"{msg}; {SUPPORT_MSG} {ERROR_URL}#invalidselectorexception"
217217

218218
super().__init__(with_support, screen, stacktrace)
219219

0 commit comments

Comments
 (0)