I am currently trying to run some tests made with webdriverjs and chromedriver but they need microphone permissions.
This is the popup that shows up:
<
You can whitelist a url for audio-capture by providing chromedriver with the hardware.audio_capture_allowed_urls preference.
...
chrome_options = Options()
prefs = {"hardware.audio_capture_allowed_urls" : ["example.org"]}
chrome_options.add_experimental_option("prefs",prefs)
driver = webdriver.Chrome(chrome_options=chrome_options)