我剛開始使用Selenium并能夠加載google,但是現在當我運行以下代碼時,它會產生錯誤:selenium.common.exceptions.WebDriverException: Message 'chromedriver' executable needsto be PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home為什么說“ C:Users / Colin / Python / chromedriver”不是路徑?from selenium import webdriverbrowser = webdriver.Chrome("C:Users/Colin/Python/chromedriver")browser.get('http://www.google.com')browser.quit()
錯誤消息:“ chromedriver”可執行文件必須為PATH
幕布斯6054654
2020-02-03 12:56:22