Skip to content

Commit 429ee1b

Browse files
committed
add check for browser
1 parent b78b9eb commit 429ee1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/selenium-lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function buildDriver() {
7474
.addArguments('use-fake-ui-for-media-stream');
7575

7676
// Only enable this for Chrome >= 49.
77-
if (getBrowserVersion >= '49') {
77+
if (process.env.BROWSER === 'chrome' && getBrowserVersion >= '49') {
7878
chromeOptions.addArguments('--enable-experimental-web-platform-features');
7979
}
8080

0 commit comments

Comments
 (0)