Skip to content

Commit

Permalink
Merge pull request #1696 from fippo/fix-mapversion
Browse files Browse the repository at this point in the history
test: fix mapVersion call
  • Loading branch information
fippo authored Jan 7, 2025
2 parents 65f8969 + eb2ba4a commit 966e4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function mapVersion(browser, version) {
}

async function buildDriver(browser = process.env.BROWSER || 'chrome', options = {version: process.env.BVER}) {
const version = mapVersion(options.version);
const version = mapVersion(browser, options.version);
const platform = puppeteerBrowsers.detectBrowserPlatform();

const buildId = await download(browser, version || 'stable',
Expand Down

0 comments on commit 966e4f1

Please sign in to comment.