From: "jgart" via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 65633@debbugs.gnu.org
Cc: lars@6xq.net
Subject: bug#65633: python-selenium raises a WebDriverException because driver is not found in PATH
Date: Wed, 30 Aug 2023 18:10:57 +0000 [thread overview]
Message-ID: <613a2c473a3924dba39b181aeadf1ac9@dismail.de> (raw)
Hi Guixers,
I'm adding this as a future TODO for myself or anyone else that would like to work on it.
python-selenium fails with the following when webdriver.Chrome is called:
driver = webdriver.Chrome('./chromedriver')
File "/gnu/store/hz5k0k0lggsn6j2ij49xriawbwrq988n-profile/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/gnu/store/hz5k0k0lggsn6j2ij49xriawbwrq988n-profile/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
See what the nixpkgs package did here:
https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/selenium/default.nix#L29
Related references:
https://github.com/SeleniumHQ/selenium/#running-browser-tests-on-linux
best,
jgart
reply other threads:[~2023-08-30 18:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=613a2c473a3924dba39b181aeadf1ac9@dismail.de \
--to=bug-guix@gnu.org \
--cc=65633@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).