I'm using Selenium in Python for a project and I was wondering if there was a way to record or stream audio that is being played in the browser. Essentially I want to use selenium to get the audio and pass it to my application in Python so that I can process it.
Is there a way to do this in Selenium, or using another Python package?
Ideally I would want to be able to get any audio playing in the browser window irregardless of the source.