[Pkg-chromium-maint] Bug#807883: chromedriver is incorrectly named
Chris Capon
ttabyss at gmail.com
Mon Dec 14 03:49:49 UTC 2015
Package: chromedriver
Version: 47.0.2526.73-1~deb8u1
Severity: normal
Dear Maintainer,
I am trying to use the WebDriver DLL's for .NET under Debian to talk with
Chromium. The latest DLL's were downloaded from
http://docs.seleniumhq.org/download/ and added to a Mono project.
Unfortunately, when creating a new instance of the ChromeDriver() object, the
driver fails to start for two reasons.
Reason #1: The driver is not located in the current search path.
This problem can be remedied by providing a path to the driver location in code
like this:
IWebDriver dr = new ChromeDriver( "/usr/lib/chromium" );
Reason #2: The driver must be named "chromedriver.exe".
When the .NET DLL's look for the driver, they require it to be named
"chromedriver.exe" rather than the current name "chromedriver".
One solution that works is to create a link in '/usr/lib/chromium' like this:
ln -s chromedriver chromedriver.exe
With the link in place, the driver works fine with the .NET DLL's.
Thanks.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages chromedriver depends on:
ii chromium 47.0.2526.73-1~deb8u1
ii libc6 2.19-22
ii libfreetype6 2.6.1-0.1
ii libgcc1 1:5.2.1-23
ii libglib2.0-0 2.46.2-1
ii libnspr4 2:4.11-1
ii libnspr4-0d 2:4.11-1
ii libnss3 2:3.21-1
ii libnss3-1d 2:3.21-1
ii libstdc++6 5.2.1-23
ii libx11-6 2:1.6.3-1
chromedriver recommends no packages.
chromedriver suggests no packages.
-- no debconf information
More information about the Pkg-chromium-maint
mailing list