From ade9a9277558a564e15e46266a82aeb43261d958 Mon Sep 17 00:00:00 2001 From: Julie Ralph Date: Fri, 29 Aug 2014 14:46:52 -0700 Subject: [PATCH] fix(webdriver-manager): always use https for downloading webdriver binaries This fixes issues with unzipping - see #1259 --- bin/webdriver-manager | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/webdriver-manager b/bin/webdriver-manager index 642d47758..7a3f3194f 100755 --- a/bin/webdriver-manager +++ b/bin/webdriver-manager @@ -32,7 +32,7 @@ var binaries = { prefix: 'selenium-server-standalone', filename: 'selenium-server-standalone-' + versions.selenium + '.jar', url: function() { - return 'http://selenium-release.storage.googleapis.com/' + + return 'https://selenium-release.storage.googleapis.com/' + shortVersion(versions.selenium) + '/' + 'selenium-server-standalone-' + versions.selenium + '.jar'; } @@ -43,7 +43,7 @@ var binaries = { prefix: 'chromedriver_', filename: 'chromedriver_' + versions.chromedriver + '.zip', url: function() { - var urlPrefix = 'http://chromedriver.storage.googleapis.com/' + + var urlPrefix = 'https://chromedriver.storage.googleapis.com/' + versions.chromedriver + '/chromedriver_'; if (os.type() == 'Darwin') { return urlPrefix + 'mac32.zip'; @@ -64,7 +64,7 @@ var binaries = { prefix: 'IEDriverServer', filename: 'IEDriverServer_' + versions.iedriver + '.zip', url: function() { - var urlPrefix = 'http://selenium-release.storage.googleapis.com/' + + var urlPrefix = 'https://selenium-release.storage.googleapis.com/' + shortVersion(versions.iedriver) + '/IEDriverServer'; if (os.type() == 'Windows_NT') { if (os.arch() == 'x64') {