Skip to content

Commit 125f64e

Browse files
committed
upgrade selenium from 2.39.0 to 2.43.0
add `ghostdriver.log`
1 parent aff29d1 commit 125f64e

31 files changed

+938
-689
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ writeup/
4444
/TAGS
4545
.tags
4646
/kalite/i18n/static/
47+
ghostdriver.log

python-packages/selenium/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from selenium import selenium
1616

1717

18-
__version__ = "2.39.0"
18+
__version__ = "2.43.0"

python-packages/selenium/common/exceptions.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ class UnexpectedAlertPresentException(WebDriverException):
124124
Usually raised when when an expected modal is blocking webdriver form executing any
125125
more commands.
126126
"""
127-
pass
127+
def __init__(self, msg=None, screen=None, stacktrace=None, alert_text=None):
128+
super(WebDriverException, self).__init__(msg, screen, stacktrace)
129+
self.alert_text = alert_text
130+
131+
def __str__(self):
132+
return "Alert Text: %s\n%s" % (self.alert_text, str(super(WebDriverException, self)))
128133

129134
class NoAlertPresentException(WebDriverException):
130135
"""

0 commit comments

Comments
 (0)