test: add launchOptions to Playwright configuration for improved media stream handling
This commit is contained in:
parent
cc446c206f
commit
eb572bf3ef
@ -13,6 +13,15 @@ export default defineConfig({
|
||||
viewport: { width: 1280, height: 720 },
|
||||
ignoreHTTPSErrors: true,
|
||||
permissions: ['camera', 'microphone'],
|
||||
video: 'retain-on-failure'
|
||||
video: 'retain-on-failure',
|
||||
launchOptions: {
|
||||
args: [
|
||||
'--use-fake-ui-for-media-stream',
|
||||
'--use-fake-device-for-media-stream',
|
||||
'--allow-file-access-from-files', // Allows file access from local files
|
||||
'--no-sandbox',
|
||||
'--disable-dev-shm-usage'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user