Package Details: python-selenium 4.27.1-2

Git Clone URL: https://aur.archlinux.org/python-selenium.git (read-only, click to copy)
Package Base: python-selenium
Description: Python language bindings for Selenium WebDriver
Upstream URL: https://github.com/SeleniumHQ/selenium
Licenses: Apache-2.0
Submitter: jelly
Maintainer: carsme (txtsd)
Last Packager: txtsd
Votes: 33
Popularity: 2.98
First Submitted: 2022-01-23 14:41 (UTC)
Last Updated: 2024-11-28 04:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

kbipinkumar commented on 2024-09-02 04:27 (UTC)

version 4.24.0 seems to have updated dependencies.

==> Starting build()...
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
    main()
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in get_requires_for_build_wheel
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
  File "<string>", line 22, in <module>
ModuleNotFoundError: No module named 'setuptools_rust'

alibiloon commented on 2024-07-22 20:19 (UTC)

@jgodden thank you so much man this worked for me my script is running again

Mailaender commented on 2024-05-21 16:26 (UTC)

I get a lot of formatting(?) errors in the unit tests:

FAILED build/lib/selenium/webdriver/common/selenium_manager.py::ruff::format - pytest_ruff.RuffError: File would be reformatted
[...]

which causes the package build to fail. I can only install this with paru python-selenium --nocheck because of failing unit tests.

petronny commented on 2023-09-18 09:37 (UTC) (edited on 2023-09-18 10:17 (UTC) by petronny)

And it's also possible to fix the NoSuchDriverException with out installing selenium-manager. In my case, I'm using the geckodriver and I update my code from

with webdriver.Firefox() as driver:

to

from selenium.webdriver.firefox.service import Service

with webdriver.Firefox(service=Service('/usr/bin/geckodriver')) as driver:

and everything works again.

PS. To further disable the warning about log_output:

with webdriver.Firefox(service=Service('/usr/bin/geckodriver', log_output=sys.stderr)) as driver:

or so on.

petronny commented on 2023-09-18 09:15 (UTC)

Hi, I only use python but I guess selenium-manager may be also needed by other language bindings for selenium (Java/CSharp/Ruby). In that case keeping selenium-manager as a separate package is better.

carsme commented on 2023-09-17 11:26 (UTC)

Unless someone objects, I'll incorporate the contents selenium-manager into this package. You OK with that, @thrasibule?

Shalrath commented on 2023-09-16 13:48 (UTC)

4.12.0-1 works when AUR package selenium-manager is installed.

carsme commented on 2023-09-15 15:53 (UTC)

@thrasibule, is there a good reason to build it as a separate package? We could build the Selenium Webdriver as part of this package.