selenium 包模块

原因是chrome浏览器和chromedriver驱动版本不一致导致的.
WeiyiGeek.webdriver说明

from selenium import webdriver

driver = webdriver.Chrome(executable_path=r’D:\Googledriver\chromedriver.exe’)
driver.get(URL)
driver.get_screenshot_as_file(‘./BreezePython.png’)
driver.close()
https://chromedriver.storage.googleapis.com/index.html?path=76.0.3809.68/

https://blog.csdn.net/xc_zhou/article/details/80755236

https://blog.csdn.net/lgh1117/article/details/7740136