mercredi 27 août 2014

Detect Audio with Selenium Webdriver and Python


Vote count:

0




Maybe not easily done, but I want to be able to load a web page in Selenium and test if flash or html5 automatically played audio.


In theory when a user visits my sites they can see the video play but no audio ( correct way) Sometimes the audio will play automatically with the video, this is what I don't want.


I'm wondering if there is a way to detect if ANY audio is playing via python and firefox? My internal tests will load the page and do quite a few selenium checks to make sure everything is good. What'd I like to do is add a test that also checks with python or selenium if audio is playing and flag it.


Any ideas?



asked 1 min ago







Detect Audio with Selenium Webdriver and Python

Aucun commentaire:

Enregistrer un commentaire