@@ -165,11 +165,25 @@ class ElementNotVisibleException(InvalidElementStateException):
165
165
element that is hidden from view.
166
166
"""
167
167
168
+ def __init__ (
169
+ self , msg : Optional [str ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
170
+ ) -> None :
171
+ with_support = f"{ msg } ; { SUPPORT_MSG } { ERROR_URL } #elementnotvisibleexception"
172
+
173
+ super ().__init__ (with_support , screen , stacktrace )
174
+
168
175
169
176
class ElementNotInteractableException (InvalidElementStateException ):
170
177
"""Thrown when an element is present in the DOM but interactions with that
171
178
element will hit another element due to paint order."""
172
179
180
+ def __init__ (
181
+ self , msg : Optional [str ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
182
+ ) -> None :
183
+ with_support = f"{ msg } ; { SUPPORT_MSG } { ERROR_URL } #elementnotinteractableexception"
184
+
185
+ super ().__init__ (with_support , screen , stacktrace )
186
+
173
187
174
188
class ElementNotSelectableException (InvalidElementStateException ):
175
189
"""Thrown when trying to select an unselectable element.
@@ -252,6 +266,13 @@ class ElementClickInterceptedException(WebDriverException):
252
266
receiving the events is obscuring the element that was requested to be
253
267
clicked."""
254
268
269
+ def __init__ (
270
+ self , msg : Optional [str ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
271
+ ) -> None :
272
+ with_support = f"{ msg } ; { SUPPORT_MSG } { ERROR_URL } #elementclickinterceptedexception"
273
+
274
+ super ().__init__ (with_support , screen , stacktrace )
275
+
255
276
256
277
class InsecureCertificateException (WebDriverException ):
257
278
"""Navigation caused the user agent to hit a certificate warning, which is
@@ -266,10 +287,24 @@ class InvalidSessionIdException(WebDriverException):
266
287
"""Occurs if the given session id is not in the list of active sessions,
267
288
meaning the session either does not exist or that it's not active."""
268
289
290
+ def __init__ (
291
+ self , msg : Optional [str ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
292
+ ) -> None :
293
+ with_support = f"{ msg } ; { SUPPORT_MSG } { ERROR_URL } #invalidsessionidexception"
294
+
295
+ super ().__init__ (with_support , screen , stacktrace )
296
+
269
297
270
298
class SessionNotCreatedException (WebDriverException ):
271
299
"""A new session could not be created."""
272
300
301
+ def __init__ (
302
+ self , msg : Optional [str ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
303
+ ) -> None :
304
+ with_support = f"{ msg } ; { SUPPORT_MSG } { ERROR_URL } #sessionnotcreatedexception"
305
+
306
+ super ().__init__ (with_support , screen , stacktrace )
307
+
273
308
274
309
class UnknownMethodException (WebDriverException ):
275
310
"""The requested command matched a known URL but did not match any methods
0 commit comments