Skip to content

Commit 8ab7f73

Browse files
authored
Fix grammar typos in exceptions.py (#8876)
1 parent ea5abf0 commit 8ab7f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/selenium/common/exceptions.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class ElementNotVisibleException(InvalidElementStateException):
158158
class ElementNotInteractableException(InvalidElementStateException):
159159
"""
160160
Thrown when an element is present in the DOM but interactions
161-
with that element will hit another element do to paint order
161+
with that element will hit another element due to paint order
162162
"""
163163
pass
164164

@@ -273,7 +273,7 @@ class ScreenshotException(WebDriverException):
273273
class ElementClickInterceptedException(WebDriverException):
274274
"""
275275
The Element Click command could not be completed because the element receiving the events
276-
is obscuring the element that was requested clicked.
276+
is obscuring the element that was requested to be clicked.
277277
"""
278278
pass
279279

@@ -288,7 +288,7 @@ class InsecureCertificateException(WebDriverException):
288288

289289
class InvalidCoordinatesException(WebDriverException):
290290
"""
291-
The coordinates provided to an interactions operation are invalid.
291+
The coordinates provided to an interaction's operation are invalid.
292292
"""
293293
pass
294294

0 commit comments

Comments
 (0)