尝试在此处下载并使用此最新的chrome驱动程序版本。
https://sites.google.com/a/chromium.org/chromedriver/downloads
编辑:
试试这个:
from selenium import webdriverfrom selenium.webdriver.chrome.options import Optionschrome_options = Options()chrome_options.add_argument('--headless')chrome_options.add_argument('--no-sandbox')chrome_options.add_argument('--disable-dev-shm-usage')d = webdriver.Chrome('/home/PycharmProjects/chromedriver',chrome_options=chrome_options)d.get('https://www.google.nl/')


