1.下载自己电脑上Google对应版本的webdriver
1.1 查看版本google版本
打开google浏览器,在地址栏输入如下信息,并回车
chrome://settings/help
1.2 下载webdriver
下载链接如下
https://chromedriver.storage.googleapis.com/index.html
如果找不到自己对应的版本可以在下方链接查找
Chrome for Testing availability
2 运行如下代码
google_download_image.py
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
from u