Skip to content

Commit

Permalink
[py] Fixing/tidying docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Diniz authored and AutomatedTester committed Nov 8, 2018
1 parent fea6316 commit b1fbb3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py/selenium/common/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b1fbb3b

Please sign in to comment.