Firefox refuse la navigation vers about:addons depuis le contexte contenu, et le contexte chrome exige -remote-allow-system-access, que geckodriver refuse via les capabilities : les deux voies vers la case « Exécuter dans les fenêtres privées » sont fermées. La permission s'accorde à l'installation, par le champ allowPrivateBrowsing de /moz/addon/install ; 46 lignes de clics XPath disparaissent. Un geckodriver qui ignore le champ installe sans la permission au lieu d'interrompre la session. Vérifié : sombre en fenêtre privée, blanc sans extension, repli servi. --- EN --- Firefox refuses navigation to about:addons from the content context, and the chrome context demands -remote-allow-system-access, which geckodriver rejects through capabilities: both routes to the « Run in Private Windows » checkbox are closed. The permission is now granted at install time, through the allowPrivateBrowsing field of /moz/addon/install; 46 lines of XPath clicking are gone. A geckodriver that ignores the field installs without the permission instead of killing the session. Checked: dark in a private window, white with no addon, fallback hit. Assisted-by: Claude Opus 5 |
||
|---|---|---|
| .. | ||
| scenario | ||
| __init__.py | ||
| combine_video.sh | ||
| darkreader-firefox.xpi | ||
| install.base.md | ||
| install.fr.md | ||
| install.md | ||
| odoo_debug-4.0.xpi | ||
| README.base.md | ||
| README.fr.md | ||
| README.md | ||
| requirements.txt | ||
| selenium_lib.py | ||
| selenium_video.py | ||
| web_login.py | ||
Installation Ubuntu 24.04
sudo apt install libcairo2-dev