geckodriver 版本对应关系

geckodriver 版本对应关系

如何解决错误【selenium.common.exceptions.SessionNotCreatedException】

https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html 查看对应关系

部分复制内容如下:

Supported platforms
The following table shows a mapping between geckodriver releases, and required versions of Selenium and Firefox:

geckodriver Selenium Firefox
min max
0.25.0 ≥ 3.11 (3.14 Python) 57 n/a
0.24.0 ≥ 3.11 (3.14 Python) 57 n/a
0.23.0 ≥ 3.11 (3.14 Python) 57 n/a
0.22.0 ≥ 3.11 (3.14 Python) 57 n/a
0.21.0 ≥ 3.11 (3.14 Python) 57 n/a
0.20.1 ≥ 3.5 55 62
0.20.0 ≥ 3.5 55 62
0.19.1 ≥ 3.5 55 62
0.19.0 ≥ 3.5 55 62
0.18.0 ≥ 3.4 53 62
0.17.0 ≥ 3.4 52 62
Clients
Selenium users must update to version 3.11 or later to use geckodriver. Other clients that follow the W3C WebDriver specification are also supported.

你可能感兴趣的:(爬虫,自动化)