Unable to make chromium-chromedriver work with selenium
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
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.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /snap/chromium/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: chromium-
ProcVersionSign
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckR
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)
Related branches
- Robert Bruce Park (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifieddebian/control (+1/-0)
- Tim Penhey (community): Approve
-
Diff: 36 lines (+29/-0)1 file modifiedmanual-tests/Launcher.txt (+29/-0)
Thanks for the report Sami.
Can you share your selenium script (or at least the part that initializes chromedriver and launches chromium)?
For reference, this is a very simple python script that works with the snap: https:/ /git.launchpad. net/~chromium- team/chromium- browser/ +git/snap- from-source/ tree/tests/ chromium- version? h=stable.