Package Details: python-selenium 4.20.0-1

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: a.kudelin (carsme)
Last Packager: carsme
Votes: 25
Popularity: 1.77
First Submitted: 2022-01-23 14:41 (UTC)
Last Updated: 2024-04-27 10:31 (UTC)

Latest Comments

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

jgodden commented on 2023-08-22 17:43 (UTC)

Here's a kludge which restores functionality for me since the 4.11.2-1 breaks access to the firefox webdriver resulting in a NoSuchDriverException. Adding a link to a "service":

from selenium import webdriver
from selenium.webdriver.firefox.service import Service
service = Service(executable_path='/usr/bin/geckodriver')
browser = webdriver.Firefox(service=service)

generates a deprecation warning about logging, but does get around the above NoSuchDriverException (for me). good luck to us.

tsj commented on 2023-08-21 16:32 (UTC) (edited on 2023-08-21 16:48 (UTC) by tsj)

Same issue as @jgodden, selenium-manager is missing and so you cannot load any webdriver. I tried setting the webdriver binary location manually but couldn't stop selenium from searching for this manager thing. Tried building the package in a devtools chroot but the build hangs for me at some point in the tests. I even tried building the bindings (not the PKGBUILD) using the upstream-supported build method (bazel) but these supposed "reproducible builds" were throwing errors. Ended up installing in $HOME via pip/PyPi, the same version (4.11.2) works fine.

Shalrath commented on 2023-08-18 16:29 (UTC) (edited on 2023-08-28 03:29 (UTC) by Shalrath)

Download fails, error 404

https://github.com/SeleniumHQ/selenium/archive/refs/tags/selenium-4.11.2-python.tar.gz

EDIT: File is available again.

jgodden commented on 2023-08-18 14:50 (UTC)

Since 2023-08-18 update to 4.11.2-1 seeing "WebDriverException" Exception following a simple two python sequence:

from selenium import webdriver
browser = webdriver.Firefox()

Then a long trace back where I'm hoping this is the salient line:

WebDriverException: Message: Unable to obtain working Selenium Manager binary; /usr/lib/python3.11/site-packages/selenium/webdriver/common/linux/selenium-manager

Thank you for your efforts! python-selenium has been rock-solid for me prior this point

kbipinkumar commented on 2023-08-06 05:52 (UTC)

the tests are failing with 4.11 version of selenium. here is the complete build log https://build.bioarchlinux.org/api/pkg/python-selenium/log/1690851687

hockeymikey commented on 2023-06-26 03:46 (UTC)

Same issue as @CarloWood yay -S python-selenium --mflags "--nocheck" to get around this.

a.kudelin commented on 2023-05-07 11:03 (UTC)

@CarloWood, sorry, can't reproduce.

CarloWood commented on 2023-05-05 14:18 (UTC)

All tests fail, which stops the install. All tests fail with the same error, here is the last one:

___________________________________ ERROR at setup of test_from_dict ____________________________________

    @pytest.fixture(autouse=True, scope="session")
    def webserver():
>       webserver = SimpleWebServer(host=get_lan_ip())

conftest.py:254: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/selenium/webdriver/common/webserver.py:145: in __init__
    self.server = ThreadedHTTPServer((host, port), HtmlOnlyHandler)
/usr/lib/python3.11/socketserver.py:456: in __init__
    self.server_bind()
/usr/lib/python3.11/http/server.py:136: in server_bind
    socketserver.TCPServer.server_bind(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <test.selenium.webdriver.common.webserver.ThreadedHTTPServer object at 0x7f3da45823d0>

    def server_bind(self):
        """Called by constructor to bind the socket.

        May be overridden.

        """
        if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"):
            self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
        if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"):
            self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
>       self.socket.bind(self.server_address)
E       OverflowError: bind(): port must be 0-65535.

/usr/lib/python3.11/socketserver.py:472: OverflowError

a.kudelin commented on 2023-02-14 14:01 (UTC)

@gingercat245, could you please try to build the package manually? I mean 1) clone URL with git, 2) go into the cloned directory, 3) run makepkg -Cfs. I suspect the issue with checksums is produced by an AUR helper.

gingercat245 commented on 2023-02-14 06:06 (UTC)

Hi,

I am also getting the validation check error. I have tried removing older packages as well. But it still failed. Please help.


Building python-selenium...
==> Making package: python-selenium 4.8.0-1 (Tue 14 Feb 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found selenium-4.8.0.tar.gz
==> Validating source files with sha256sums...
    selenium-4.8.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-selenium