Open alminveh opened 1 month ago
This is probably related to WebKitPreferences.mockCaptureDevicesEnabled. If I set it to true then I can reproduce this in manual runs as well, but changing the value to false does not make any difference in automated tests.
Details
What does the Safari issue you are seeing involve? Audio & Video
Description
When using microphone in Safari in automated tests only noise is getting recorded. This only happens when Safari is started from automated tests, not reproducible when running manually.
I tried with WDIO and Playwright, issue is reproducible in both. Also tried with different applications and all of them capture the same audio (just noise).
Tested with different audio input/output devices, it is reproducible with all of them.
Can be reproduced with a simple WDIO or Playwright test with the following steps:
Or:
If you check the audio that is captured it is only “beep - pause - beep - pause…” noise (I attached one small audio sample).
Files
https://github.com/feedback-assistant/reports/assets/133762074/12b81ec1-0db7-48af-90f5-795b3b0275fa