Expose Response Headers
Expose the page response headers to Navigator object to make them available from Selenium and other web drivers
What is Expose Response Headers?
Stats
Other platforms
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();
Safety
Risk impact
Expose Response Headers is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this extension. Review carefully before installing. We recommend that you only install Expose Response Headers if you trust the publisher.
Risk likelihood
Expose Response Headers may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.
Similar extensions
Here are some Chrome extensions that are similar to Expose Response Headers: