解决方法:
设置二进制文件地址:
1 options = webdriver.ChromeOptions() 2 options.binary_location = r"C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe" 3 self.driver = webdriver.Chrome(chrome_options=options)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
原文:https://www.cnblogs.com/yaner2018/p/13601953.html