I am working on a cypress automation Test. Our website has a functionality in which we use webkitspeechrecognition API for capturing the audio data and convert it to text. I want to write a cypress automation test for testing this.
I have a audio file and I want to play it in the test, so that the audio data is captured and stored in the backend, and then I can compare it with an API call for validation.
But when the audio is getting played it is not getting captured in the test, is there any way that I can make this work?