I did just use: driver = webdriver.Chrome() However, I just tried the same code again and could not reproduce the crash. Now, it seems to work.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1897396 Title: Unable to make chromium-chromedriver work with selenium Status in chromium-browser package in Ubuntu: Incomplete Bug description: Trying to use chrome web driver instead of firefox driver in selenium gives following error. How to use chromium with selenium now when it is packaged in Snap? Error message: selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /snap/chromium/current/command-chromium.wrapper is no longer running, so ChromeDriver is assuming that Chrome has crashed.) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: chromium-chromedriver 1:85.0.4183.83-0ubuntu0.20.04.1 ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.8 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Sat Sep 26 19:10:59 2020 InstallationDate: Installed on 2019-11-03 (328 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) SourcePackage: chromium-browser UpgradeStatus: Upgraded to focal on 2020-03-28 (181 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1897396/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp