From unknown Tue Jun 17 20:13:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65633 <65633@debbugs.gnu.org> To: bug#65633 <65633@debbugs.gnu.org> Subject: Status: python-selenium raises a WebDriverException because driver is not found in PATH Reply-To: bug#65633 <65633@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:13:12 +0000 retitle 65633 python-selenium raises a WebDriverException because driver is= not found in PATH reassign 65633 guix submitter 65633 "jgart" severity 65633 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 14:11:23 2023 Received: (at submit) by debbugs.gnu.org; 30 Aug 2023 18:11:23 +0000 Received: from localhost ([127.0.0.1]:53942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbPf1-0001TU-BE for submit@debbugs.gnu.org; Wed, 30 Aug 2023 14:11:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbPey-0001TC-5z for submit@debbugs.gnu.org; Wed, 30 Aug 2023 14:11:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbPek-0003ob-L4 for bug-guix@gnu.org; Wed, 30 Aug 2023 14:11:06 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbPeg-0004yW-7j for bug-guix@gnu.org; Wed, 30 Aug 2023 14:11:06 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 242e4950; Wed, 30 Aug 2023 20:10:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc; s=20190914; bh=ofkR8cavCaJ+8ZzlqsMMXP CPKa0Zo24iL5BKXs+Tx7c=; b=QT/StZ26xIfqbiD6IqSSNjZkiRNPwaTNjOxKd7 8DpAcZFLGVs3Mj3EeMW97gc1kLOGxG9bPNTABPHImf9Z9WRyhFyKH7z1f4J/szZR l8roPjlpsGjzzrvgZsg0+k/Rl3CeChTxVwxMJaTwKJ0aeZayEfgLWhCqhJLcLMF5 0x7hy1FUJG0mwTGcrmdxVB9W5aZXdW8OdGQ9BgUrT24y2E3tYJPCkws6ke2mlOBc edGxbgzvfSj8But6j4SM6pkSo0ucxxQjzTOKjCg05UR1CM5lg8VN0fhCdwHx3XOC OipmOoKzgCL7v58aK3v+7DM+UnDIW2BGp5P/Gw/GLbrDUYkg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 087bb7cf; Wed, 30 Aug 2023 20:10:59 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 3367d0be; Wed, 30 Aug 2023 20:10:59 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id e03130bd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 30 Aug 2023 20:10:58 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 30 Aug 2023 18:10:57 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.17.0 From: "jgart" Message-ID: <613a2c473a3924dba39b181aeadf1ac9@dismail.de> Subject: python-selenium raises a WebDriverException because driver is not found in PATH To: bug-guix@gnu.org Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: lars@6xq.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi Guixers, I'm adding this as a future TODO for myself or anyone else that would lik= e to work on it. python-selenium fails with the following when webdriver.Chrome is called: driver =3D webdriver.Chrome('./chromedriver')=20 =20 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.1= 0/site-packages/selenium/webdriver/common/service.py", line 81, in start raise WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'chromedriver' ex= ecutable needs to be in PATH. Please see https://sites.google.com/a/chrom= ium.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