From b1fbb3b0a579908d2c344ee5f858d4791538b2f3 Mon Sep 17 00:00:00 2001 From: Lucas Diniz Date: Wed, 7 Nov 2018 23:32:18 +0000 Subject: [PATCH] [py] Fixing/tidying docstring. --- py/selenium/common/exceptions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py/selenium/common/exceptions.py b/py/selenium/common/exceptions.py index df61eca00a694..72761522f91f8 100644 --- a/py/selenium/common/exceptions.py +++ b/py/selenium/common/exceptions.py @@ -133,10 +133,10 @@ class InvalidElementStateException(WebDriverException): class UnexpectedAlertPresentException(WebDriverException): """ - Thrown when an unexpected alert is appeared. + Thrown when an unexpected alert has appeared. - Usually raised when when an expected modal is blocking webdriver form executing any - more commands. + Usually raised when an unexpected modal is blocking the webdriver from executing + commands. """ def __init__(self, msg=None, screen=None, stacktrace=None, alert_text=None): super(UnexpectedAlertPresentException, self).__init__(msg, screen, stacktrace)