

You can allow all sites to use your camera, or just the specific site you’re on. Here are the options: chrome_options.add_argument('-disable-notifications')Ĭhrome_options.add_argument('-no-sandbox')Ĭhrome_options.add_argument('-disable-dev-shm-usage')Ĭhrome_options.add_argument('-ignore-certificate-errors')Ĭhrome_options. Step 1: Check your site permissions in Chrome Make sure you allow camera access on the site you want to use. Upgrading to the latest version of Chrome and Chromedriver, reinstalling both Chrome and Chromedriver, provide brew's chromedriver path

I've tried the following steps to resolve the issue, but none of them have worked: not only the one exact place.Ĭhromedriver version: 1.64, installed in /usr/local/bin/chromedriver INTERNALERROR> (Session info: chrome=1.64) INTERNALERROR> (failed to check if window was closed: disconnected: not connected to DevTools) INTERNALERROR> : Message: disconnected: not connected to DevTools opt/homebrew/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py:242: WebDriverException

The browser window opens for a few seconds before crashing, and then this happen: Stacktrace:Į : Message: unknown error: cannot determine loading statusĮ from disconnected: Unable to receive message from renderer Small programs that add new features to your browser and personalize your browsing experience. I'm trying to run tests using Chromedriver on MacBook M2, but I'm running into issues with Chrome and Chromedriver crashing. Google’s Chrome remains the world’s most popular desktop browser by quite a margin, although that does encompass Windows users too.
