selenium.common.exceptions.JavascriptException: Message: javascript error:{"status":32,"value":"An invalid or illegal selector was specified"}(Session info: chrome=125.0.6422.77)
Stacktrace:
GetHandleVerifier [0x00007FF7B30E1F52+60322](No symbol)[0x00007FF7B305CEC9](No symbol)[0x00007FF7B2F17EBA](No symbol)[0x00007FF7B2F1DCEE](No symbol)[0x00007FF7B2F20641](No symbol)[0x00007FF7B2F206E0](No symbol)[0x00007FF7B2F6733B](No symbol)[0x00007FF7B2F6773C](No symbol)[0x00007FF7B2FAE967](No symbol)[0x00007FF7B2F8C25F](No symbol)[0x00007FF7B2FABC80](No symbol)[0x00007FF7B2F8BFC3](No symbol)[0x00007FF7B2F59617](No symbol)[0x00007FF7B2F5A211]
GetHandleVerifier [0x00007FF7B33F949D+3301613]
GetHandleVerifier [0x00007FF7B34436C3+3605267]
GetHandleVerifier [0x00007FF7B3439440+3563664]
GetHandleVerifier [0x00007FF7B3194326+790390](No symbol)[0x00007FF7B306750F](No symbol)[0x00007FF7B3063404](No symbol)[0x00007FF7B3063592](No symbol)[0x00007FF7B3052F9F]
BaseThreadInitThunk [0x00007FFC743F7034+20]
RtlUserThreadStart [0x00007FFC7465D0D1+33]
出现该错误的原因是由于selenium框架找不到对应的元素,我检查了好几遍都发现没有问题,最终才发现是我元素名多带了半个引号,而导致该元素名找不到
本文转载自: https://blog.csdn.net/m0_64365419/article/details/139157374
版权归原作者 从未止步.. 所有, 如有侵权,请联系我们删除。
版权归原作者 从未止步.. 所有, 如有侵权,请联系我们删除。