Package Details: python-webdriver-manager 4.0.2-2

Git Clone URL: https://aur.archlinux.org/python-webdriver-manager.git (read-only, click to copy)
Package Base: python-webdriver-manager
Description: Simplify management of binary drivers for different browsers in Selenium
Upstream URL: https://github.com/SergeyPirogov/webdriver_manager
Licenses: Apache-2.0
Submitter: carsme
Maintainer: envolution
Last Packager: envolution
Votes: 1
Popularity: 0.000001
First Submitted: 2023-02-11 11:19 (UTC)
Last Updated: 2024-12-23 00:56 (UTC)

Latest Comments

envolution commented on 2025-01-05 22:11 (UTC)

@bytemixer No worries - and I'd recommend pacman -S rebuild-detector to deal with issues with packages requiring rebuilds like this - it adds a hook to let you know when you perform upgrades.

bytemixer commented on 2025-01-05 22:06 (UTC)

@envolution you are entirely correct, thanks for the reply. I'll just uninstall mock completely and rebuild, maybe that will solve the issue. Also I'll properly report the js issue. Sorry for getting it wrong.

envolution commented on 2025-01-05 17:17 (UTC)

@bytemixer I believe you have an environment issue likely caused by the recent python 3.13 bump.

  1. python-mock correctly installs to site-packages
$ pacman -Ql python-mock | grep mock.py
python-mock /usr/lib/python3.13/site-packages/mock/mock.py
  1. you're reporting missing files from selenium, while this is webdriver-manager https://github.com/SergeyPirogov/webdriver_manager https://github.com/SeleniumHQ/selenium these are two entirely different code bases.
  2. google-chrome is a check dependency and not at all required to build the package (see --nocheck flag in makepkg, or add !check to /etc/make.conf BUILDENV array)

bytemixer commented on 2025-01-05 16:50 (UTC) (edited on 2025-01-05 17:00 (UTC) by bytemixer)

This package currently fails to build and run, for various reasons:

  1. The python-mock package from AUR still installs for python3.11 and is not found with current python 3.13 installations. That makes the check() fail and no package is built.
  2. When skipping the failing check, the package fails to install all *.js files that are in src/selenium-4.27.1/selenium/webdriver/remote/ to /usr/lib/python3.13/site-packages/selenium/webdriver/remote/. Consequently, calls like "element.get_attribute('foo') will fail with the package installed, because getAttribute.js can not be loaded.

I also would very, very much appreciate if the google-chrome dependency could be removed or at least be supplemented with a "chromium" option, because the google-chrome package exists only in AUR and sets itself als default browser on every install which I find pretty annyoing. For my part I use selenium only with firefox and do not need google-chrome at all.