selenium Error

Click to download the corresponding version of  chromedriver.exe

Message: 'geckodriver' executable needs to be in PATH.

The reason is not configured chromedriver.exe environment.

Extract the downloaded file to install chromedriver.exe directory browser, then configure the system environment variables.

 

Message: session not created: Chrome version must be between 70 and 73

The reason is that the local browser version does not match webdriver

 

------------------- compatible version of the following table for the 2019 ------------------ 
ChromeDriver V77 --- ------ Supports Chrome version 77 (small version needs to be verified) 
ChromeDriver v76.0.3809.12 (2019-06-07) --------- (Download Supports Chrome version 76, there are small versions of the corresponding relations) 
ChromeDriver v75.0.3770.8 (2019-04-29) --------- the Supports Chrome version 75 (Download in correspondence between a small version) 
ChromeDriver v74.0.3729.6 (2019-03-14 ) --------- Supports Chrome version 74 (Download in correspondence between a small version) 
ChromeDriver v2.46 (2019-02-01) ---------- the Supports Chrome version 71- 73 
------------------- the following table is a compatible version of the 2018 ------------------ 
ChromeDriver v2.45 (2018-12-10) ---------- the Supports Chrome v70-72 
ChromeDriver v2.44 (2018-11-19) ---------- the Supports Chrome v69-71 
ChromeDriver v2 .43 (2018-10-16) ---------- Supports Chrome v69-71 
ChromeDriver v2 .42 (2018-09-13) ---------- Supports Chrome v68-70
ChromeDriver v2.41 (2018-07-27)----------Supports Chrome v67-69
ChromeDriver v2.40 (2018-06-07)----------Supports Chrome v66-68
ChromeDriver v2.39 (2018-05-30)----------Supports Chrome v66-68
ChromeDriver v2.38 (2018-04-17)----------Supports Chrome v65-67
ChromeDriver v2.37 (2018-03-16)----------Supports Chrome v64-66
ChromeDriver v2.36 (2018-03-02)----------Supports Chrome v63-65
ChromeDriver v2.35 (2018-01-10)----------Supports Chrome v62-64

原文链接:https://blog.csdn.net/MenofGod/article/details/88421010

 

Guess you like

Origin www.cnblogs.com/wqzn/p/11775835.html