teerapap / grunt-protractor-runner

A Grunt plugin for running protractor runner.
MIT License
149 stars 123 forks source link

Chromedriver Url hard-coded to https #107

Open dehru opened 9 years ago

dehru commented 9 years ago

Hello, I have corporate firewall issues, and they do certificate rewriting, which causes the download to fail ( like it should ). Looking at the webdriver-manager script, I see that it is hardcoded to https

var urlPrefix = 'https://chromedriver.storage.googleapis.com/'

I'm wondering if it would be possible for me to pass in the url to get the chrome driver, or to specify NOT to use https but http.

Right now I can get around this, but I have to set the environment variable NODE_TLS_REJECT_UNAUTHORIZED=0 in order to get around this issue. But I'd rather be able to just use http instead.

Thoughts?