selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome proce

报错:
selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process.
Stacktrace:
Backtrace:
Ordinal0 [0x00FA7AC3+2587331]
Ordinal0 [0x00F3ADD1+2141649]
Ordinal0 [0x00E33BB8+1063864]

解决办法:
wb = webdriver.Chrome()
调整为:
wb = webdriver.Chrome(r’C:\Program Files\Google\Chrome\Application\chromedriver.exe’)

posted @ 2022-05-21 14:06  向前、向前  阅读(105)  评论(0编辑  收藏  举报