|
发表于 2025-7-28 00:47:44
|
显示全部楼层
报错了。
sgcc_electricity | 2025-07-28 00:32:53 [INFO ] ---- The current run runs as a docker image.
sgcc_electricity | 2025-07-28 00:32:53 [INFO ] ---- The current repository version is v1.6.8, and the repository address is https://github.com/ARC-MX/sgcc_electricity_new.git
sgcc_electricity | 2025-07-28 00:32:53 [INFO ] ---- The current date is 2025-07-28 00:32:53.
sgcc_electricity | 2025-07-28 00:32:53 [INFO ] ---- The current logged-in user name is 13683113412, the homeassistant address is http://192.168.31.5:8123/, and the program will be executed every day at 06:54.
sgcc_electricity | 2025-07-28 00:32:53 [INFO ] ---- Run job now! The next run will be at 06:54 and 18:54 every day
sgcc_electricity | 2025-07-28 00:32:53 [INFO ] ---- Open Firefox.
sgcc_electricity | 2025-07-28 00:33:11 [INFO ] ---- Webdriver initialized.
sgcc_electricity | 2025-07-28 00:34:21 [INFO ] ---- Open LOGIN_URL:https://95598.cn/osgweb/login.
sgcc_electricity | 2025-07-28 00:35:52 [ERROR ] ---- Webdriver quit abnormly, reason: Message: Unable to locate element: .user; For documentation on this error, please visit: https://www.selenium.dev/documen ... uchelementexception
sgcc_electricity | Stacktrace:
sgcc_electricity | RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
sgcc_electricity | WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5
sgcc_electricity | NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5
sgcc_electricity | dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
sgcc_electricity | . 5 retry times left.
是不是因为https://95598.cn/osgweb/login的页面默认是扫码登录,没有找到账号登录的框? |
|