Skip to content

Commit

Permalink
Updated regex chrome stable to include chrome for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Crustum7 committed Nov 5, 2023
1 parent 5dbebe6 commit dab12ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/launcher/lib/known-browsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export const knownBrowsers: Browser[] = [
family: 'chromium',
channel: 'stable',
displayName: 'Chrome',
versionRegex: /Google Chrome (\S+)/m,
// Chrome for testing can be any stable, beta, dev or canary version
versionRegex: /Google Chrome (?:for Testing )?(\S+)/m,
binary: ['google-chrome', 'chrome', 'google-chrome-stable'],
minSupportedVersion: MIN_CHROME_VERSION,
},
Expand Down

0 comments on commit dab12ab

Please sign in to comment.