Message: session not created: This version of ChromeDriver only supports Chrome version 104
时间: 2024-02-28 13:32:21 浏览: 160
根据引用、[2]和的内容,"Message: session not created: This version of ChromeDriver only supports Chrome version 104"是由于ChromeDriver版本不兼容Chrome浏览器版本导致的。实际上,ChromeDriver只支持特定版本的Chrome浏览器。在这种情况下,你需要使用与你的Chrome浏览器版本兼容的ChromeDriver版本。
解决这个问题的方法是通过下载和使用适用于你Chrome浏览器版本的ChromeDriver。你可以在Selenium的官方网站上找到与你Chrome浏览器版本相对应的ChromeDriver下载链接。确保下载的ChromeDriver版本与你Chrome浏览器的版本完全匹配。
一旦你下载了适合你Chrome浏览器版本的ChromeDriver,并将其放置在正确的目录下,你就可以重新运行你的Selenium脚本,这样就不会再出现"Message: session not created: This version of ChromeDriver only supports Chrome version 104"的错误了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [chromedriver和chrome版本不匹配导致无法运行selenium解决办法](https://download.csdn.net/download/weixin_38589314/14035584)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Message: session not created: This version of ChromeDriver only supports Chrome version 98](https://blog.csdn.net/m0_65833575/article/details/124728943)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [处理session not created: This version of ChromeDriver only supports Chrome version问题的方法](https://blog.csdn.net/weixin_46308904/article/details/109306234)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文