- 积分
- 298
- 金钱
- 257
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 298
- 金钱
- 257
- HASS币
- 0
|
发表于 2022-11-9 21:16:30
|
显示全部楼层
2022-11-09 21:09:59 [INFO ] ---- Webdriver initialized.2022-11-09 21:10:41 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login2022-11-09 21:10:48 [INFO ] ---- Get electricity charge balance successfully, balance is 343.0 CNY.2022-11-09 21:11:12 [ERROR ] ---- state-refresh task failed, reason is Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='el-tabs__nav is-top']/div[@id='tab-second']"} (Session info: headless chrome=90.0.4430.212)Stacktrace:#0 0x559bf60dd7f9 <unknown>#1 0x559bf607d3b3 <unknown>#2 0x559bf5dc5016 <unknown>#3 0x559bf5df981e <unknown>#4 0x559bf5e2f8fb <unknown>#5 0x559bf5e1cded <unknown>#6 0x559bf5e2d9e1 <unknown>#7 0x559bf5e1cc93 <unknown>#8 0x559bf5deece4 <unknown>#9 0x559bf5df04d2 <unknown>#10 0x559bf60a9542 <unknown>#11 0x559bf60b8ce7 <unknown>#12 0x559bf60b89e4 <unknown>#13 0x559bf60bd13a <unknown>#14 0x559bf60b95b9 <unknown>#15 0x559bf609ee00 <unknown>#16 0x559bf60d05d2 <unknown>#17 0x559bf60d0778 <unknown>#18 0x559bf60e8a1f <unknown>#19 0x7f7b96674fa3 start_thread#20 0x7f7b958cb06f clone
我这边登录成功:2022-11-09 21:06:22 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
可以显示余额:2022-11-09 21:06:29 [INFO ] ---- Get electricity charge balance successfully, balance is 343.0 CNY.
下面还是报错:2022-11-09 21:06:53 [ERROR ] ---- Webdriver quit abnormly, reason: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='el-tabs__nav is-top']/div[@id='tab-second']"}
(Session info: headless chrome=90.0.4430.212)
hass是hyper-v下的虚拟机,X86
|
|