DevTools listening on ws://127.0.0.1:60973/devtools/browser/30601eef-2302-4bf3-8903-938a20d56681 Traceback (most recent call last): File "e:/爬虫基础/pc0526.py", line 14, in <module> driver = webdriver.Chrome() File "C:\Users\asus\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in __init__ super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog", File "C:\Users\asus\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 92, in __init__ RemoteWebDriver.__init__( File "C:\Users\asus\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 275, in __init__ self.start_session(capabilities, browser_profile) File "C:\Users\asus\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 365, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "C:\Users\asus\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 430, in execute self.error_handler.check_response(response) File "C:\Users\asus\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 112 Current browser version is 114.0.5735.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe Stacktrace: Backtrace: GetHandleVerifier [0x0030DCE3+50899] (No symbol) [0x0029E111] (No symbol) [0x001A5588] (No symbol) [0x001C570C] (No symbol) [0x001C1471] (No symbol) [0x001BF479] (No symbol) [0x001F1FFE] (No symbol) [0x001F1CEC] (No symbol) [0x001EB6F6] (No symbol) [0x001C7708] (No symbol) [0x001C886D] GetHandleVerifier [0x00573EAE+2566302] GetHandleVerifier [0x005A92B1+2784417] GetHandleVerifier [0x005A327C+2759788] GetHandleVerifier [0x003A5740+672048] (No symbol) [0x002A8872] (No symbol) [0x002A41C8] (No symbol) [0x002A42AB] (No symbol) [0x002971B7] BaseThreadInitThunk [0x76BC00C9+25] RtlGetAppContainerNamedObjectPath [0x77497B4E+286] RtlGetAppContainerNamedObjectPath [0x77497B1E+238] (No symbol) [0x00000000]
时间: 2023-08-22 17:05:36 浏览: 323
看起来你在使用 Selenium 进行自动化测试或者爬虫,但是报错显示 ChromeDriver 只支持 Chrome 112 版本,而你的 Chrome 浏览器是 114 版本,所以无法创建会话。建议你更新 ChromeDriver 到与 Chrome 浏览器版本相匹配的版本或者降级 Chrome 浏览器版本。
相关问题
DevTools listening on ws://127.0.0.1:9222/devtools/browser/cdd4deae-5da4-46c8-8a3b-e202b768f1dc DevTools listening on ws://127.0.0.1:9221/devtools/browser/8cf4a15b-b4cd-477a-9aea-9ee01a73d654 [28956:47012:0607/095350.421:ERROR:interface_endpoint_client.cc(696)] Message 0 rejected by interface blink.mojom.WidgetHost [19508:20056:0607/095350.540:ERROR:interface_endpoint_client.cc(696)] Message 0 rejected by interface blink.mojom.WidgetHost DevTools listening on ws://127.0.0.1:9223/devtools/browser/88e61795-4ac8-418d-bb91-eaa454afd7ea [43688:46248:0607/095354.197:ERROR:interface_endpoint_client.cc(696)] Message 0 rejected by interface blink.mojom.WidgetHost
根据你提供的信息,这是 Chrome 浏览器的 DevTools 在监听不同的端口。其中, "ERROR:interface_endpoint_client.cc(696)] Message 0 rejected by interface blink.mojom.WidgetHost" 是一个 Chromium 内部错误,通常不会影响到浏览器的正常使用。如果你没有遇到任何问题,你可以忽略这些错误信息。但是,如果你遇到了浏览器无法正常工作或者其他问题,你可以尝试重新启动浏览器,或者升级你的浏览器版本,看看是否能够解决问题。
DevTools listening on ws://127.0.0.1:52137/devtools/browser/dd65b96d-97cd-492e-8567-68394fc5c55b
这个提示是Chrome浏览器的调试工具在监听一个本地端口,用于在开发过程中调试网页应用程序。这个提示并不表示错误,而是Chrome浏览器在启动时自动打印的一条信息。如果您正在使用Selenium或其他自动化工具启动Chrome浏览器,可以忽略这个提示。如果您的脚本在运行时遇到了错误,可以提供更多的错误信息或代码片段,这样我才能更好地帮助您解决问题。
阅读全文