I am trying to access a webpage that asks for microphone , how do I deny it using python?
The library that I am using is requests, but I can use another one.
Thanks
I am trying to access a webpage that asks for microphone , how do I deny it using python?
The library that I am using is requests, but I can use another one.
Thanks
These kind of APIs (location, microphone, camera, etc) are using JavaScript, so basically only have effect if you are using a browser (or something very-very similar to a browser).
On the other hand, libraries like requests
operates on HTTP and have nothing to do with JavaScript APIs. Basically you do not have to do anything, because the JavaScript from the site will not run, so there is nothing to allow or deny.
→ Is this what you want? ←
(bascially, you just need to use Selenium
and his ChromeOptions
Class