@@ -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