Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit ade9a92

Browse files
committed
fix(webdriver-manager): always use https for downloading webdriver binaries
This fixes issues with unzipping - see #1259
1 parent 2972e3a commit ade9a92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/webdriver-manager

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var binaries = {
3232
prefix: 'selenium-server-standalone',
3333
filename: 'selenium-server-standalone-' + versions.selenium + '.jar',
3434
url: function() {
35-
return 'http://selenium-release.storage.googleapis.com/' +
35+
return 'https://selenium-release.storage.googleapis.com/' +
3636
shortVersion(versions.selenium) + '/' +
3737
'selenium-server-standalone-' + versions.selenium + '.jar';
3838
}
@@ -43,7 +43,7 @@ var binaries = {
4343
prefix: 'chromedriver_',
4444
filename: 'chromedriver_' + versions.chromedriver + '.zip',
4545
url: function() {
46-
var urlPrefix = 'http://chromedriver.storage.googleapis.com/' +
46+
var urlPrefix = 'https://chromedriver.storage.googleapis.com/' +
4747
versions.chromedriver + '/chromedriver_';
4848
if (os.type() == 'Darwin') {
4949
return urlPrefix + 'mac32.zip';
@@ -64,7 +64,7 @@ var binaries = {
6464
prefix: 'IEDriverServer',
6565
filename: 'IEDriverServer_' + versions.iedriver + '.zip',
6666
url: function() {
67-
var urlPrefix = 'http://selenium-release.storage.googleapis.com/' +
67+
var urlPrefix = 'https://selenium-release.storage.googleapis.com/' +
6868
shortVersion(versions.iedriver) + '/IEDriverServer';
6969
if (os.type() == 'Windows_NT') {
7070
if (os.arch() == 'x64') {

0 commit comments

Comments
 (0)