Skip to content

Commit a631330

Browse files
committed
so much wrapping / unwrapping of value causes my eyes to bleed.... Fixing case where UnexpectedAlertException doesn't get the alert_text in the error object
1 parent 5883af1 commit a631330

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/selenium/webdriver/remote/errorhandler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def check_response(self, response):
106106
status = value["status"]
107107
message = value["value"]
108108
if not isinstance(message, basestring):
109+
value = message
109110
try:
110111
message = message['message']
111112
except TypeError:

0 commit comments

Comments
 (0)