cannot read properties of undefined (reading 'windowld') 自动获取网页内信息,一个页面有10个链接,前五个链接是正常的,到第六个就不行了,什么情况
回答
收藏

cannot read properties of undefined (reading 'windowld') 自动获取网页内信息,一个页面有10个链接,前五个链接是正常的,到第六个就不行了,什么情况

w
w454488201
2022-04-30 18:29·浏览量:2862
w
w454488201
发布于 2022-04-30 18:292862浏览

cannot read properties of undefined (reading 'windowld') 自动获取网页内信息,一个页面有10个链接,前五个链接是正常的,到第六个就不行了,什么情况


具体内容报错如下

Traceback (most recent call last):
  File "D:\ShadowBot\shadowbot-5.1.25\python\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "D:\ShadowBot\shadowbot-5.1.25\python\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\ShadowBot\shadowbot-5.1.25\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
    main()
  File "D:\ShadowBot\shadowbot-5.1.25\python\lib\site-packages\xbot_interpreter.py", line 45, in main
    try:
  File "C:\Users\w454488201\AppData\Local\ShadowBot\users\7b9bcbbc-0869-4615-b19f-296a7aa55726\apps\a364609c-3e75-4ca3-917b-eb02d5fece05\xbot_robot\main.py", line 24, in main
    xbot_visual.web.element.click(browser=浙大首页web_page, element=单页点击点web_loop_element, simulate=True, move_mouse=False, clicks="click", button="left", keys="null", delay_after="1", anchor_type="center", sudoku_part="MiddleCenter", offset_x="0", offset_y="0", timeout="20", _block=("main", 7, "点击元素(web)"))
  File "<string>", line 79, in wrapper
  File "<string>", line 74, in wrapper
  File "<string>", line 54, in click
  File "<string>", line 230, in click
  File "<string>", line 841, in _invoke
  File "<string>", line 113, in execute
  File "<string>", line 90, in execute
xbot.errors.UIAError: Code:0,Message:Cannot read properties of undefined (reading 'windowId')

收藏
全部回答1
最新
发布回答
回答