Adding headers to browser.get () requests in the protractor
1 answer
Selenium (WebDriver) doesn't support this. One way to solve this is to use an intermediate proxy and manipulate the headers along the line. Keep in mind that this solution works great for HTTP, but will require some additional workarounds if you are using HTTPS (and in most cases this is not viable).
+1
source to share