chromedriver与chrome对应

70版本之后,chromedriver版本号与chrome版本号是对应的。
chromedriver与chrome的对应关系表:

ChromeDriver版本 支持的Chrome版本
v2.45 v70-72
v2.44 v69-71
v2.43 v69-71
v2.42 v68-70
v2.41 v67-69
v2.40 v66-68
v2.39 v66-68
v2.38 v65-67
v2.37 v64-66
v2.36 v63-65
v2.35 v62-64
v2.34 v61-63
v2.33 v60-62
v2.32 v59-61
v2.31 v58-60
v2.30 v58-60
v2.29 v56-58
v2.28 v55-57
v2.27 v54-56
v2.26 v53-55
v2.25 v53-55
v2.24 v52-54
v2.23 v51-53
v2.22 v49-52
v2.21 v46-50
v2.20 v43-48
v2.19 v43-47
v2.18 v43-46
v2.17 v42-43
v2.13 v42-45
v2.15 v40-43
v2.14 v39-42
v2.13 v38-41
v2.12 v36-40
v2.11 v36-40
v2.10 v33-36
v2.9 v31-34
v2.8 v30-33
v2.7 v30-33
v2.6 v29-32
v2.5 v29-32
v2.4 v29-32

chrome版本对应webdriver下载地址 taobao
http://npm.taobao.org/mirrors/chromedriver/

# 29版本chrome过于老了 应该没有在用的了
# 73版本之后,chromedriver版本号与chrome版本号是对应的。
ChromeDriverVersionDict = {
    '29': "https://cdn.npm.taobao.org/dist/chromedriver/2.6/chromedriver_win32.zip",
    '30': "https://cdn.npm.taobao.org/dist/chromedriver/2.8/chromedriver_win32.zip",
    '31': "https://cdn.npm.taobao.org/dist/chromedriver/2.9/chromedriver_win32.zip",
    '32': "https://cdn.npm.taobao.org/dist/chromedriver/2.9/chromedriver_win32.zip",
    '33': "https://cdn.npm.taobao.org/dist/chromedriver/2.10/chromedriver_win32.zip",
    '34': "https://cdn.npm.taobao.org/dist/chromedriver/2.10/chromedriver_win32.zip",
    '35': "https://cdn.npm.taobao.org/dist/chromedriver/2.10/chromedriver_win32.zip",
    '36': "https://cdn.npm.taobao.org/dist/chromedriver/2.12/chromedriver_win32.zip",
    '37': "https://cdn.npm.taobao.org/dist/chromedriver/2.12/chromedriver_win32.zip",
    '38': "https://cdn.npm.taobao.org/dist/chromedriver/2.13/chromedriver_win32.zip",
    '39': "https://cdn.npm.taobao.org/dist/chromedriver/2.14/chromedriver_win32.zip",
    '40': "https://cdn.npm.taobao.org/dist/chromedriver/2.15/chromedriver_win32.zip",
    '41': "https://cdn.npm.taobao.org/dist/chromedriver/2.15/chromedriver_win32.zip",
    '42': "https://cdn.npm.taobao.org/dist/chromedriver/2.16/chromedriver_win32.zip",
    '43': "https://cdn.npm.taobao.org/dist/chromedriver/2.20/chromedriver_win32.zip",
    '44': "https://cdn.npm.taobao.org/dist/chromedriver/2.20/chromedriver_win32.zip",
    '45': "https://cdn.npm.taobao.org/dist/chromedriver/2.20/chromedriver_win32.zip",
    '46': "https://cdn.npm.taobao.org/dist/chromedriver/2.21/chromedriver_win32.zip",
    '47': "https://cdn.npm.taobao.org/dist/chromedriver/2.21/chromedriver_win32.zip",
    '48': "https://cdn.npm.taobao.org/dist/chromedriver/2.21/chromedriver_win32.zip",
    '49': "https://cdn.npm.taobao.org/dist/chromedriver/2.22/chromedriver_win32.zip",
    '50': "https://cdn.npm.taobao.org/dist/chromedriver/2.22/chromedriver_win32.zip",
    '51': "https://cdn.npm.taobao.org/dist/chromedriver/2.23/chromedriver_win32.zip",
    '52': "https://cdn.npm.taobao.org/dist/chromedriver/2.24/chromedriver_win32.zip",
    '53': "https://cdn.npm.taobao.org/dist/chromedriver/2.26/chromedriver_win32.zip",
    '54': "https://cdn.npm.taobao.org/dist/chromedriver/2.27/chromedriver_win32.zip",
    '55': "https://cdn.npm.taobao.org/dist/chromedriver/2.28/chromedriver_win32.zip",
    '56': "https://cdn.npm.taobao.org/dist/chromedriver/2.29/chromedriver_win32.zip",
    '57': "https://cdn.npm.taobao.org/dist/chromedriver/2.29/chromedriver_win32.zip",
    '58': "https://cdn.npm.taobao.org/dist/chromedriver/2.31/chromedriver_win32.zip",
    '59': "https://cdn.npm.taobao.org/dist/chromedriver/2.32/chromedriver_win32.zip",
    '60': "https://cdn.npm.taobao.org/dist/chromedriver/2.33/chromedriver_win32.zip",
    '61': "https://cdn.npm.taobao.org/dist/chromedriver/2.34/chromedriver_win32.zip",
    '62': "https://cdn.npm.taobao.org/dist/chromedriver/2.35/chromedriver_win32.zip",
    '63': "https://cdn.npm.taobao.org/dist/chromedriver/2.36/chromedriver_win32.zip",
    '64': "https://cdn.npm.taobao.org/dist/chromedriver/2.37/chromedriver_win32.zip",
    '65': "https://cdn.npm.taobao.org/dist/chromedriver/2.38/chromedriver_win32.zip",
    '66': "https://cdn.npm.taobao.org/dist/chromedriver/2.40/chromedriver_win32.zip",
    '67': "https://cdn.npm.taobao.org/dist/chromedriver/2.41/chromedriver_win32.zip",
    '68': "https://cdn.npm.taobao.org/dist/chromedriver/2.42/chromedriver_win32.zip",
    '69': "https://cdn.npm.taobao.org/dist/chromedriver/2.43/chromedriver_win32.zip",
    '70': "https://cdn.npm.taobao.org/dist/chromedriver/2.45/chromedriver_win32.zip",
    '71': "https://cdn.npm.taobao.org/dist/chromedriver/2.46/chromedriver_win32.zip",
    '72': "https://cdn.npm.taobao.org/dist/chromedriver/2.46/chromedriver_win32.zip",
    '73': "https://cdn.npm.taobao.org/dist/chromedriver/73.0.3683.68/chromedriver_win32.zip",
    '74': "https://cdn.npm.taobao.org/dist/chromedriver/74.0.3729.6/chromedriver_win32.zip",
    '75': "https://cdn.npm.taobao.org/dist/chromedriver/75.0.3770.90/chromedriver_win32.zip",
    '76': "https://cdn.npm.taobao.org/dist/chromedriver/76.0.3809.126/chromedriver_win32.zip",
    '77': "https://cdn.npm.taobao.org/dist/chromedriver/77.0.3865.40/chromedriver_win32.zip",
    '78': "https://cdn.npm.taobao.org/dist/chromedriver/78.0.3904.105/chromedriver_win32.zip",
    '79': "https://cdn.npm.taobao.org/dist/chromedriver/79.0.3945.36/chromedriver_win32.zip",
    '80': "https://cdn.npm.taobao.org/dist/chromedriver/80.0.3987.106/chromedriver_win32.zip",
    '81': "https://cdn.npm.taobao.org/dist/chromedriver/81.0.4044.138/chromedriver_win32.zip",
    # '82': ""  # 受疫情影响谷歌跳过82版本发布
    '83': "https://cdn.npm.taobao.org/dist/chromedriver/83.0.4103.39/chromedriver_win32.zip",
    '84': "https://cdn.npm.taobao.org/dist/chromedriver/84.0.4147.30/chromedriver_win32.zip",
    '85': "https://cdn.npm.taobao.org/dist/chromedriver/85.0.4183.87/chromedriver_win32.zip",
    '86': "https://cdn.npm.taobao.org/dist/chromedriver/86.0.4240.22/chromedriver_win32.zip",
    '87': "https://cdn.npm.taobao.org/dist/chromedriver/87.0.4280.88/chromedriver_win32.zip",
    '88': "https://cdn.npm.taobao.org/dist/chromedriver/88.0.4324.96/chromedriver_win32.zip",
    '89': "https://cdn.npm.taobao.org/dist/chromedriver/89.0.4389.23/chromedriver_win32.zip",
    '90': "https://cdn.npm.taobao.org/dist/chromedriver/90.0.4430.24/chromedriver_win32.zip",
    '91': "https://cdn.npm.taobao.org/dist/chromedriver/91.0.4472.19/chromedriver_win32.zip",
}

你可能感兴趣的:(Python)