Closed KolyStudio closed 1 year ago
If you're referring to chrome://settings/content/camera see https://stackoverflow.com/a/69586993/7058266
I wanted to refer to allowing access to the camera as I do on selenium like this
driver.execute_cdp_cmd(
"Browser.grantPermissions",
{
"origin": 'https://google.com', # e.g https://www.google.com
"permissions": ["geolocation", "audioCapture", "displayCapture", "videoCapture",
"videoCapturePanTiltZoom"]
},
)
It looks like you're referring to https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/452#issuecomment-1017293933
I don't have the cheat-sheet on execute_cdp_cmd
commands, so I can't vouch for their accuracy. I would refer to that thread for more info, or possibly a Stack Overflow solution if you need a more customized execute_cdp_cmd
command to allow the camera on sites when using undetected-chromedriver. You may also want to confirm if that command works without undetected-chromedriver mode, because it might not.
Hello, i'm trying to allow the camera permission, i have no idea how to do it. Thank you!