title: Detect Audio with Selenium Webdriver and Python
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>Any ideas?</p>