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’)

你可能感兴趣的:(python,chrome,selenium,python)