Handle stacktrace from legacy Firefox driver
@@ -77,7 +77,9 @@ module Selenium
def add_backtrace(ex)
return unless error_payload.is_a?(Hash)
- server_trace = error_payload[STACKTRACE_KEY] || error_payload[STACKTRACE_KEY.downcase]
+ server_trace = error_payload[STACKTRACE_KEY] ||
+ error_payload[STACKTRACE_KEY.downcase] ||
+ error_payload['value'][STACKTRACE_KEY]
return unless server_trace
backtrace = case server_trace
