简体   繁体   English

Selenium - Chromedriver filenotfound 错误消息

[英]Selenium - Chromedriver filenotfound error message

I am trying to use selenium to test a webpage I am building.我正在尝试使用 selenium 来测试我正在构建的网页。 I downloaded chrome driver and placed the executable in the path below.我下载了 chrome 驱动程序并将可执行文件放在下面的路径中。 I know the path is correct.我知道路径是正确的。

driver = webdriver.Chrome(executable_path=r'C:\Python\chromedriver.exe')

What can I do to address this or what am I missing?我能做些什么来解决这个问题或我错过了什么?

Try calling the file without the ".exe" extension.尝试调用不带“.exe”扩展名的文件。 I use chromedriver but I never need to call the extension.我使用 chromedriver,但我从不需要调用扩展。

driver = webdriver.Chrome('C:\Python\chromedriver')

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 filenotfound 错误 - chromedriver(网页抓取) - filenotfound error - chromedriver (web scraping) Python Selenium ChromeDriver 错误。 消息:元素不可交互 - Python Selenium ChromeDriver error. Message: element not interactable selenium.common.exceptions.WebDriverException:消息:未知错误:无法使用 ChromeDriver Chrome Selenium 创建 Chrome 进程错误 - selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create a Chrome process error with ChromeDriver Chrome Selenium selenium.common.exceptions.WebDriverException:消息:未知错误:Chrome 无法启动:在 Python 中使用 ChromeDriver 和 Selenium 崩溃 - selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed with ChromeDriver and Selenium in Python selenium.common.exceptions.WebDriverException: 消息:无法通过 Selenium Python 使用 ChromeDriver Chrome 连接到服务错误 - selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service error using ChromeDriver Chrome through Selenium Python selenium.common.exceptions.WebDriverException:消息:未知错误:Chrome无法启动:使用ChromeDriver Chrome和Selenium异常退出 - selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally with ChromeDriver Chrome and Selenium selenium.common.exceptions.WebDriverException:消息:未知错误:无法使用带有Selenium Python的ChromeDriver Chrome创建Chrome进程 - selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process with ChromeDriver Chrome with Selenium Python Selenium Chromedriver错误代码:3221225477 - Selenium Chromedriver error code : 3221225477 Selenium chromedriver error_TyperError - Selenium chromedriver error_TyperError Selenium 和 Python3 ChromeDriver 引发消息:无法连接到服务 chromedriver - Selenium and Python3 ChromeDriver raises Message: Can not connect to the Service chromedriver
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM