erplibre/script/selenium
Mathieu Benoit cd65565943 [FIX] selenium: retirer -remote-allow-system-access (refusé par geckodriver récent)
webdriver.Firefox échouait : « InvalidArgumentException: Argument
--remote-allow-system-access can't be set via capabilities ». Cet argument
(ajouté pour le Firefox snap d'Ubuntu) est désormais REFUSÉ via les
capabilities par les geckodriver récents, qui gèrent seuls l'accès système
du snap. Il cassait donc TOUS les setups sur geckodriver récent (ici Arch
sans snap). On ne le passe plus.

--- EN ---

webdriver.Firefox was failing with « InvalidArgumentException: Argument
--remote-allow-system-access can't be set via capabilities ». That argument,
added for Ubuntu's snap Firefox, is now REFUSED through capabilities by
recent geckodriver versions, which handle the snap's system access on their
own. It therefore broke EVERY setup running a recent geckodriver — here Arch,
with no snap at all. It is no longer passed.

Assisted-by: Claude Opus 4.8
2026-08-07 02:49:25 -04:00
..
scenario [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00
__init__.py [ADD] selenium script 2023-12-02 14:14:23 -05:00
combine_video.sh [ADD] script selenium video support 2025-04-12 17:06:09 -04:00
darkreader-firefox.xpi [UPD] script selenium update darkreader-firefox.xpi 2026-08-07 02:32:03 -04:00
install.base.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
install.fr.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
install.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
odoo_debug-4.0.xpi [ADD] selenium script 2023-12-02 14:14:23 -05:00
README.base.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
README.fr.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
README.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
requirements.txt [UPD] erplibre pip requirement missing tldextract and PyYAML 2026-03-08 18:59:00 -04:00
selenium_lib.py [FIX] selenium: retirer -remote-allow-system-access (refusé par geckodriver récent) 2026-08-07 02:49:25 -04:00
selenium_video.py [FIX] selenium video: firefox windows size 2025-11-08 23:53:07 -05:00
web_login.py [FIX] selenium cancel exit when need humain navigation 2026-08-07 02:32:11 -04:00

Installation Ubuntu 20.04

sudo apt install libcairo2-dev