Skip to content

Commit

Permalink
Update Chrome download from chrome-for-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpijnacker-philips committed Oct 13, 2023
1 parent a068809 commit 0ccea06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/SeleniumTunnel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,21 +482,22 @@ class ChromeConfig
});
platform = isGreater ? 'mac64' : 'mac32';
}
return format('chromedriver_%s.zip', platform);
return format('chromedriver-%s.zip', platform);
}

get directory() {
return join(this.version, this.arch);
}

get url() {
return format('%s/%s/%s', this.baseUrl, this.version, this.artifact);
return format('%s/%s/%s/%s', this.baseUrl, this.version, this.platform, this.artifact);
}

get executable() {
return join(
this.directory,
this.platform === 'win32' ? 'chromedriver.exe' : 'chromedriver'
format('chromedriver-%s', this.platform),
this.platform === 'win32' || this.platform === 'win64' ? 'chromedriver.exe' : 'chromedriver'
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/webdrivers.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"latest": "3.141.59"
},
"chrome": {
"baseUrl": "https://chromedriver.storage.googleapis.com",
"latest": "105.0.5195.52"
"baseUrl": "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing",
"latest": "118.0.5993.70"
},
"firefox": {
"baseUrl": "https://github.com/mozilla/geckodriver/releases/download",
Expand Down

0 comments on commit 0ccea06

Please sign in to comment.