You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
- open https://translate.google.com/?sl=en&tl=es&op=translate
- start recording by clicking on the button to “Translate by voice”
- observe text in the field (“TestTestTestTestTestTest……..” appears in the field although there is no audio input)
Or:
- from WDIO or Playwright test open any page that can record audio
- start recording
- record for some time
- save recording
If you check the audio that is captured it is only “beep - pause - beep - pause…” noise (I attached one small audio sample).
Files
SafariSample.mp4
The text was updated successfully, but these errors were encountered:
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:
- open https://translate.google.com/?sl=en&tl=es&op=translate
- start recording by clicking on the button to “Translate by voice”
- observe text in the field (“TestTestTestTestTestTest……..” appears in the field although there is no audio input)
Or:
- from WDIO or Playwright test open any page that can record audio
- start recording
- record for some time
- save recording
If you check the audio that is captured it is only “beep - pause - beep - pause…” noise (I attached one small audio sample).
Files
SafariSample.mp4
The text was updated successfully, but these errors were encountered: