Expose Response Headers

Expose the page response headers to Navigator object to make them available from Selenium and other web drivers

Expose Response Headers Chrome Extension

Expose Response Headers is a technical Chrome extension that provides functionality to web drivers like Selenium by making response headers and status codes available through the Navigator object. With this extension, you can easily retrieve response headers and status codes in your automation scripts, making it a valuable tool for web developers and testers.

Extension stats

Users: 17
Version: 1.0.1 (Last updated: 2017-03-02)
Creation date: 2017-03-02
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • webRequest
  • tabs
  • http://*/*
  • https://*/*
Size: 20.52K

Other platforms

Not available on Android
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

This is a technical extension to be used with web drivers like Selenium. It adds the so-needed functionality like providing response headers and response status code for requested urls. The available items go to Navigator object, under following properties:

navigator.requestHeaders = <array>; navigator.requestUrl = <string>; navigator.requestMethod = <string>; navigator.responseHeaders = <array>; navigator.responseStatusCode = <string>; navigator.responseStatusLine = <string>; navigator.responseUrl = <string>; navigator.responseMethod = <string>;

To get those values, you typically need to get them by running a javascript in a page context, and returning the result. In Selenium, it would look something like this:

var builder = new selenium.Builder().withCapabilities(selenium.Capabilities.chrome()); var options = new selenium_chrome.Options();

See more

Extension safety

Risk impact

Expose Response Headers requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

Expose Response Headers may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to Expose Response Headers: