In case of web automation, we should be able to do like getUserMedia: use mock sources and disable prompt.
Looking at the code, this should be already in place.