diff --git a/test/helpers/selenium-helper.js b/test/helpers/selenium-helper.js index 1072cb0d6f33d0f551de1d47cab392361ca183c7..84e6c355ae460a2580f3093035de9c6c8e6918e9 100644 --- a/test/helpers/selenium-helper.js +++ b/test/helpers/selenium-helper.js @@ -57,6 +57,10 @@ class SeleniumHelper { // Stub getUserMedia to always not allow access args.push('--use-fake-ui-for-media-stream=deny'); + // Suppress complaints about AudioContext starting before a user gesture + // This is especially important on Windows, where Selenium directs JS console messages to stdout + args.push('--autoplay-policy=no-user-gesture-required'); + chromeCapabilities.set('chromeOptions', {args}); chromeCapabilities.setLoggingPrefs({ performance: 'ALL'