@@ -92,7 +92,8 @@ class NoSuchAttributeException(WebDriverException):
9292
9393class NoSuchShadowRootException (WebDriverException ):
9494 """Thrown when trying to access the shadow root of an element when it does
95- not have a shadow root attached."""
95+ not have a shadow root attached.
96+ """
9697
9798
9899class StaleElementReferenceException (WebDriverException ):
@@ -175,7 +176,8 @@ def __init__(
175176
176177class ElementNotInteractableException (InvalidElementStateException ):
177178 """Thrown when an element is present in the DOM but interactions with that
178- element will hit another element due to paint order."""
179+ element will hit another element due to paint order.
180+ """
179181
180182 def __init__ (
181183 self , msg : Optional [Any ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
@@ -194,7 +196,8 @@ class ElementNotSelectableException(InvalidElementStateException):
194196
195197class InvalidCookieDomainException (WebDriverException ):
196198 """Thrown when attempting to add a cookie under a different domain than the
197- current URL."""
199+ current URL.
200+ """
198201
199202
200203class UnableToSetCookieException (WebDriverException ):
@@ -207,7 +210,8 @@ class TimeoutException(WebDriverException):
207210
208211class MoveTargetOutOfBoundsException (WebDriverException ):
209212 """Thrown when the target provided to the `ActionsChains` move() method is
210- invalid, i.e. out of document."""
213+ invalid, i.e. out of document.
214+ """
211215
212216
213217class UnexpectedTagNameException (WebDriverException ):
@@ -254,7 +258,8 @@ class JavascriptException(WebDriverException):
254258
255259class NoSuchCookieException (WebDriverException ):
256260 """No cookie matching the given path name was found amongst the associated
257- cookies of the current browsing context's active document."""
261+ cookies of the current browsing context's active document.
262+ """
258263
259264
260265class ScreenshotException (WebDriverException ):
@@ -264,7 +269,8 @@ class ScreenshotException(WebDriverException):
264269class ElementClickInterceptedException (WebDriverException ):
265270 """The Element Click command could not be completed because the element
266271 receiving the events is obscuring the element that was requested to be
267- clicked."""
272+ clicked.
273+ """
268274
269275 def __init__ (
270276 self , msg : Optional [Any ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
@@ -276,7 +282,8 @@ def __init__(
276282
277283class InsecureCertificateException (WebDriverException ):
278284 """Navigation caused the user agent to hit a certificate warning, which is
279- usually the result of an expired or invalid TLS certificate."""
285+ usually the result of an expired or invalid TLS certificate.
286+ """
280287
281288
282289class InvalidCoordinatesException (WebDriverException ):
@@ -285,7 +292,8 @@ class InvalidCoordinatesException(WebDriverException):
285292
286293class InvalidSessionIdException (WebDriverException ):
287294 """Occurs if the given session id is not in the list of active sessions,
288- meaning the session either does not exist or that it's not active."""
295+ meaning the session either does not exist or that it's not active.
296+ """
289297
290298 def __init__ (
291299 self , msg : Optional [Any ] = None , screen : Optional [str ] = None , stacktrace : Optional [Sequence [str ]] = None
@@ -308,7 +316,8 @@ def __init__(
308316
309317class UnknownMethodException (WebDriverException ):
310318 """The requested command matched a known URL but did not match any methods
311- for that URL."""
319+ for that URL.
320+ """
312321
313322
314323class NoSuchDriverException (WebDriverException ):
0 commit comments