Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/runner/src/browser-paths.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
export type BrowserPlatform = 'windows' | 'mac' | 'linux';

export type KnownTarget =
| 'arc'
| 'chromium'
| 'chrome'
| 'chrome-beta'
| 'chrome-dev'
| 'chrome-canary'
| 'dia'
| 'edge'
| 'edge-beta'
| 'edge-dev'
Expand All @@ -21,6 +23,11 @@ export const KNOWN_BROWSER_PATHS: Record<
> = {
// Chromium based targets

arc: {
mac: ['/Applications/Arc.app/Contents/MacOS/Arc'],
linux: [],
windows: [],
},
chromium: {
mac: [],
linux: [
Expand Down Expand Up @@ -51,6 +58,11 @@ export const KNOWN_BROWSER_PATHS: Record<
linux: [],
windows: [],
},
dia: {
mac: ['/Applications/Dia.app/Contents/MacOS/Dia'],
linux: [],
windows: [],
},
edge: {
mac: [],
linux: [],
Expand Down Expand Up @@ -112,10 +124,12 @@ export const KNOWN_BROWSER_PATHS: Record<
*/
export const FALLBACK_TARGETS: Partial<Record<KnownTarget, KnownTarget[]>> = {
chrome: [
'arc',
'chromium',
'chrome-canary',
'chrome-beta',
'chrome-dev',
'dia',
'edge',
'edge-canary',
'edge-beta',
Expand Down
Loading