mercredi 27 janvier 2021

🌞 Why my audio won't get auto-played when testing it with TestCafe? 🌞

I'm trying to test an app using the howler.js library and I need to test if the audio gets auto-played correctly. Apparently, when working with testcafe (even using this command --autoplay-policy=no-user-gesture-required) the audio won't get played automatically. We believe this is because chrome detects it as a screen-reader and gets into account accessibility matters. Could this be the case?

Does anyone know why this is happening or what could be a good way to fix this? Has anyone tried this before?

Thanks and have a nice day! 🌞

Aucun commentaire:

Enregistrer un commentaire