Skip to content

Commit

Permalink
fix: Update chromedriver download base url (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-boris authored Feb 16, 2024
1 parent e1f8efd commit 5bfebb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/compute-download-urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,7 @@ async function getLatestGeckodriver(opts, browserDriver, url) {
}
}

function resolveDownloadUrl(
platform,
buildId,
baseUrl = 'https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing'
) {
function resolveDownloadUrl(platform, buildId, baseUrl = 'https://storage.googleapis.com/chrome-for-testing-public') {
return `${baseUrl}/${resolveDownloadPath(platform, buildId).join('/')}`;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = () => {
channel: 'stable',
arch: process.arch,
onlyDriverArgs: [],
baseURL: 'https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing',
baseURL: 'https://storage.googleapis.com/chrome-for-testing-public',
},
firefox: {
version: 'latest',
Expand Down

0 comments on commit 5bfebb6

Please sign in to comment.