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: 32
Popularity: 2.45
First Submitted: 2022-01-23 14:41 (UTC)
Last Updated: 2024-11-28 04:24 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

txtsd commented on 2024-11-28 04:35 (UTC)

Thanks @bpierre! I added you as a contributor.

bpierre commented on 2024-11-28 00:08 (UTC)

Here's the fix:

 PKGBUILD | 2 ++
 1 file changed, 2 insertions(+)

diff --git i/PKGBUILD w/PKGBUILD
index b863b31..a2acbcb 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -42,6 +42,8 @@ prepare() {
   cd "${_archive}/src"
   export RUSTUP_TOOLCHAIN=stable
   cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+  # Ensure `selenium.webdriver.common.fedcm` gets packaged in.
+  touch ../selenium/webdriver/common/fedcm/__init__.py
 }

 build() {

cprn commented on 2024-11-27 16:29 (UTC) (edited on 2024-11-27 16:51 (UTC) by cprn)

I have exactly the same problem as @jgodden. Update broke the package. Again.

edit: as a temporary workaround I switched to python-selenium-bin, there's no problem there.

txtsd commented on 2024-11-27 14:59 (UTC)

No idea how to fix this one, sorry :(

jgodden commented on 2024-11-27 14:16 (UTC) (edited on 2024-11-27 14:17 (UTC) by jgodden)

Unfortunately today's new build python-selenium 4.27.1-1 apparently leaves out a module for me:


  File "/home/graben/projects/python/sk_noadblock.py", line 81, in <module>
    from selenium.webdriver.firefox.service import Service
  File "/usr/lib/python3.12/site-packages/selenium/webdriver/__init__.py", line 20, in <module>
    from .chrome.webdriver import WebDriver as Chrome  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/selenium/webdriver/chrome/  webdriver.py", line 18, in <module>
    from selenium.webdriver.chromium.webdriver import ChromiumDriver
  File "/usr/lib/python3.12/site-packages/selenium/webdriver/chromium/webdriver.py", line 22, in <module>  
    from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver
  File "/usr/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 57, in <module>
    from ..common.fedcm.dialog import Dialog
ModuleNotFoundError: No module named 'selenium.webdriver.common.fedcm'

Thank you for your efforts nonetheless!

txtsd commented on 2024-11-27 05:36 (UTC)

I pushed an update and switched to pypi source. Please let me know if the js files are working as intended, and if anything else is broken.

kmacleod commented on 2024-11-20 14:25 (UTC)

I just started using selenium, so I'm not sure. The problem is the same as @cprn says here: https://aur.archlinux.org/packages/python-selenium#comment-989588

The PKGBUILD should probably copy those js files manually for now. It seems like an upstream issue to me though.

txtsd commented on 2024-11-20 00:12 (UTC)

@kmacleod Is this something that was working before and isn't since the latest update? Or has it been something that needs rectifying since before?

kmacleod commented on 2024-11-19 20:15 (UTC) (edited on 2024-11-19 20:15 (UTC) by kmacleod)

For now, I'm working around this by manually copying the js files into the webdriver/remote directory, so that they can be loaded when needed:

From the extracted tarball:

sudo cp rb/lib/selenium/webdriver/atoms/*.js /usr/lib/python3.12/site-packages/selenium/webdriver/remote/

I don't recommend doing this, but it seems to work for me (for now).

kmacleod commented on 2024-11-19 18:10 (UTC)

Any progress on getting the latest install to work, including get_attribute?