Files
Testing/videocall1/RecordRTC/test/browserstack.config.js
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

48 lines
1.5 KiB
JavaScript

exports.config = {
specs: [
'./video-recording.js',
'./audio-recording.js',
'./video-recording-using-WhammyRecorder.js',
'./audio-recording-using-StereoAudioRecorder.js',
'./canvas-recording.js'
],
seleniumAddress: 'http://hub-cloud.browserstack.com/wd/hub',
multiCapabilities: []
};
function getDefaultBrowserInfo(browserName) {
return {
browserName: browserName,
build: 'RecordRTC',
name: 'RecordRTC_Tests',
'browserstack.user': process.env.BROWSERSTACK_USERNAME,
'browserstack.key': process.env.BROWSERSTACK_KEY,
'browserstack.debug': 'true',
'os': 'Windows',
'os_version': '7',
'browser_version': '58.0',
'resolution': '1024x768',
'chromeOptions': {
args: [
// '--enable-logging=stderr',
// '--no-first-run',
// '--no-default-browser-check',
// '--disable-translate',
'--use-fake-ui-for-media-stream',
'--use-fake-device-for-media-stream',
// '--vmodule="*media/*=3,*turn*=3"',
// "--headless",
// "--disable-gpu",
"--enable-experimental-web-platform-features",
// "--allow-http-screen-capture",
// "--enable-usermedia-screen-capturing"
]
}
};
}
var browserInfo = getDefaultBrowserInfo('Chrome');
exports.config.multiCapabilities.push(browserInfo);