Skip to content

Commit

Permalink
Dumping more information to the log to debug a python test failure on…
Browse files Browse the repository at this point in the history
… travis
  • Loading branch information
barancev committed Sep 25, 2019
1 parent 5d219b8 commit a06d321
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,8 @@ private static CreateSessionRequest fromJson(JsonInput input) {

return new CreateSessionRequest(downstreamDialects, capabilities, metadata);
}

public String toString() {
return String.format("<CreateSessionRequest with %s>", capabilities);
}
}
3 changes: 2 additions & 1 deletion py/selenium/webdriver/remote/errorhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def check_response(self, response):
meth = "%s.%s" % (frame['className'], meth)
msg = " at %s (%s)"
msg = msg % (meth, file)
stacktrace.append(msg)
#stacktrace.append(msg)
stacktrace.append(frame)
except TypeError:
pass
if exception_class == UnexpectedAlertPresentException:
Expand Down

0 comments on commit a06d321

Please sign in to comment.