diff --git a/rb/lib/selenium/webdriver/remote/http/default.rb b/rb/lib/selenium/webdriver/remote/http/default.rb index 6c9b022c6ee64..6c18767df067e 100644 --- a/rb/lib/selenium/webdriver/remote/http/default.rb +++ b/rb/lib/selenium/webdriver/remote/http/default.rb @@ -100,6 +100,8 @@ def request(verb, url, headers, payload, redirects = 0) request(:get, URI.parse(response['Location']), DEFAULT_HEADERS.dup, nil, redirects + 1) else + header = response.instance_variable_get(:@header).to_yaml + WebDriver.logger.debug(" <<< #{header.inspect}") create_response response.code, response.body, response.content_type end end