Skip to content

点击上传失败 win11 64位 环境 模拟操作网页 不成功 #127

@henrylaobai

Description

@henrylaobai

Chrome 已是最新版本 系统环境 win11 64位
版本 137.0.7151.69(正式版本) (64 位)
驱动下载
chromedriver | win64 | https://storage.googleapis.com/chrome-for-testing-public/137.0.7151.68/win64/chromedriver-win64.zip

浏览器 已经开启调试模式 "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222

报错信息:
Exception in thread Thread-19 (start_all_pages):
Traceback (most recent call last):
File "D:\Program Files (x86)\python3.10\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "D:\Program Files (x86)\python3.10\lib\threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "E:\money\MoneyPrinterPlus\services\publisher\open_test.py", line 42, in start_all_pages
driver = init_driver()
File "E:\money\MoneyPrinterPlus\services\publisher\publisher_common.py", line 46, in init_driver
driver = webdriver.Chrome(service=service, options=options)
File "E:\money\MoneyPrinterPlus\venv\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init
super().init(
File "E:\money\MoneyPrinterPlus\venv\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in init
super().init(command_executor=executor, options=options)
File "E:\money\MoneyPrinterPlus\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 208, in init
self.start_session(capabilities)
File "E:\money\MoneyPrinterPlus\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 292, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "E:\money\MoneyPrinterPlus\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "E:\money\MoneyPrinterPlus\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:9222
from chrome not reachable
Stacktrace:
GetHandleVerifier [0x0x7ff69ce2fea5+79173]
GetHandleVerifier [0x0x7ff69ce2ff00+79264]
(No symbol) [0x0x7ff69cbe9c8c]
(No symbol) [0x0x7ff69cbdaaa1]
(No symbol) [0x0x7ff69cc2d062]
(No symbol) [0x0x7ff69cc2222e]
(No symbol) [0x0x7ff69cc767de]
(No symbol) [0x0x7ff69cc75f70]
(No symbol) [0x0x7ff69cc68743]
(No symbol) [0x0x7ff69cc314c1]
(No symbol) [0x0x7ff69cc32253]
GetHandleVerifier [0x0x7ff69d0fa2dd+3004797]
GetHandleVerifier [0x0x7ff69d0f472d+2981325]
GetHandleVerifier [0x0x7ff69d113380+3107360]
GetHandleVerifier [0x0x7ff69ce4aa2e+188622]
GetHandleVerifier [0x0x7ff69ce522bf+219487]
GetHandleVerifier [0x0x7ff69ce38df4+115860]
GetHandleVerifier [0x0x7ff69ce38fa9+116297]
GetHandleVerifier [0x0x7ff69ce1f558+11256]
BaseThreadInitThunk [0x0x7ffe1ab5e8d7+23]
RtlUserThreadStart [0x0x7ffe1ca3bf6c+44]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions