In Debian 10, the firefox_driver is removed from Synaptic because of incompatibility with Firefox ESR. I downloaded latest geckodriver from GitHub, plus installed latest Firefox (using flatpak). I get this error message calling webdriver.Firefox():
SessionNotCreatedException: Unable to find a matching set of capabilities
How can I run firefox from Python?
Versions
Firefox 80.0.1 (installed from flatpak)
geckodriver 0.27 (in /usr/local/bin/)
Selenium,3.14.1
Python 3.7.3
Script:
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title