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: 34
Popularity: 2.60
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 7 Next › Last »

carsme commented on 2023-01-22 11:23 (UTC)

Getting the following error in the check step when trying to install:

==> Starting check()...
Traceback (most recent call last):
  File "/bin/pytest", line 8, in <module>
    sys.exit(console_main())
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 190, in console_main
    code = main()
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 148, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 329, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
  File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
    gen.send(outcome)
  File "/usr/lib/python3.10/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse
    config: Config = outcome.get_result()
  File "/usr/lib/python3.10/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1058, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1352, in parse
    args = self._parser.parse_setoption(
  File "/usr/lib/python3.10/site-packages/_pytest/config/argparsing.py", line 143, in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
  File "/usr/lib/python3.10/site-packages/_pytest/config/argparsing.py", line 113, in parse
    self.optparser = self._getparser()
  File "/usr/lib/python3.10/site-packages/_pytest/config/argparsing.py", line 130, in _getparser
    arggroup.add_argument(*n, **a)
  File "/usr/lib/python3.10/argparse.py", line 1441, in add_argument
    return self._add_action(action)
  File "/usr/lib/python3.10/argparse.py", line 1643, in _add_action
    action = super(_ArgumentGroup, self)._add_action(action)
  File "/usr/lib/python3.10/argparse.py", line 1455, in _add_action
    self._check_conflict(action)
  File "/usr/lib/python3.10/argparse.py", line 1592, in _check_conflict
    conflict_handler(action, confl_optionals)
  File "/usr/lib/python3.10/argparse.py", line 1601, in _handle_conflict_error
    raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --headless: conflicting option string: --headless
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-selenium-4.7.2-1':
error: packages failed to build: python-selenium-4.7.2-1

ark commented on 2022-10-21 15:54 (UTC)

@arcamagna, I also experienced the error when building

scheme['data'] = scheme['purelib'] KeyError: 'purelib'

To fix the issue I upgraded my setuptools from 59.8 to 65.5

zeb commented on 2022-05-27 16:46 (UTC) (edited on 2022-05-27 16:53 (UTC) by zeb)

The empty webdriver_prefs.json in the firefox directory in this package seems to cause problems when trying to start Firefox from robotframework using SeleniumLibrary (it logs a JSONDecodeError). The most minimal webdriver_prefs.json that works for me is this:

{
  "frozen": {},
  "mutable": {}
}

carlosal1015 commented on 2022-05-17 14:32 (UTC)

Thanks you for packaging @a.kudelin, is fixed from my side.

a.kudelin commented on 2022-05-15 11:12 (UTC)

@arcamagna, hi! The error you reported is not reproduced. Please try to build the package in a clean chroot.

@MoetaYuko, thanks, fixed in 4.1.4-2.

moetayuko commented on 2022-05-15 05:42 (UTC)

pytest stuck after tests passed when using parallel compilation:

================================================================================ 31 passed, 1 warning in 0.66s =================================================================================
^CException ignored in: <module 'threading' from '/usr/lib/python3.10/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1560, in _shutdown
    lock.acquire()
KeyboardInterrupt:

please consider setting MAKEFLAGS to -j1

arcamagna commented on 2022-05-14 19:57 (UTC)

Hi, I'm getting the same error with 4.1.4:

File "/tmp/python-selenium/src/selenium-selenium-4.1.4-python/py/setup.py", line 25, in <module>
    scheme['data'] = scheme['purelib']
KeyError: 'purelib'

a.kudelin commented on 2022-05-14 13:27 (UTC)

Hi @carlosal1015

I cannot reproduce the error building the package in a clean chroot.

a.kudelin commented on 2022-04-21 14:05 (UTC)

@Ashark, you can check the import in a python shell: it's working just fine.