from selenium import webdriver
driver = webdriver.Chrome()
driver.get('https://www.baidu.com')
解决办法:
from selenium import webdriver
options = webdriver.ChromeOptions()
options.binary_location =r'D:\LifeTools\google\Google\Chrome\Application\chrome.exe'
browser = webdriver.Chrome(options=options)
browser.get('https://www.baidu.com')