Skip to content

Commit 1605a05

Browse files
authored
Support chromium browser for simulate (#454)
1 parent 8e519cf commit 1605a05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/browsers/browser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,15 @@ function getBrowser(target, dataDir, url) {
7979
},
8080
darwin: {
8181
chrome: `"Google Chrome" --args${chromeArgs}`,
82+
chromium: `chromium${chromeArgs}`,
8283
safari: 'safari',
8384
firefox: 'firefox',
8485
opera: 'opera',
8586
edge: `"Microsoft Edge" ${url} --args${chromeArgs}`
8687
},
8788
linux: {
8889
chrome: `google-chrome${chromeArgs}`,
90+
chromium: `chromium-browser${chromeArgs}`,
8991
firefox: 'firefox',
9092
opera: 'opera',
9193
edge: `microsoft-edge ${url} --args${chromeArgs}`

0 commit comments

Comments
 (0)