Skip to content

Commit a2097e1

Browse files
kachkaevaklinker1
andauthored
fix: improve Chrome path search (#1823)
Co-authored-by: Aaron <[email protected]>
1 parent 190be7f commit a2097e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/runner/src/browser-paths.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ export const KNOWN_BROWSER_PATHS: Record<
3030
windows: [],
3131
},
3232
chrome: {
33-
mac: ['/Applications/Chrome.app/Contents/MacOS/Google Chrome'],
33+
mac: [
34+
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
35+
'/Applications/Chrome.app/Contents/MacOS/Google Chrome',
36+
],
3437
linux: [],
3538
windows: ['C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'],
3639
},
@@ -42,6 +45,7 @@ export const KNOWN_BROWSER_PATHS: Record<
4245
'chrome-canary': {
4346
mac: [
4447
'/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
48+
'/Applications/Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
4549
],
4650
linux: [],
4751
windows: [],

0 commit comments

Comments
 (0)