指定的浏览器页面尚未加载完成, https://www.nx.gov.cn/zwxx_11337/nxyw/202305/t20230514_4099975.html, 19588
回答
收藏

指定的浏览器页面尚未加载完成, https://www.nx.gov.cn/zwxx_11337/nxyw/202305/t20230514_4099975.html, 19588

冰魄
2023-05-21 13:19·浏览量:543
冰魄
发布于 2023-05-21 13:17更新于 2023-05-21 13:19543浏览

1.我正在编辑一个通过批量数据获取网页链接,然后循环网页链接获取网页信息的应用,在循环打开网页时会出现“指定的浏览器页面尚未加载完成, https://www.nx.gov.cn/zwxx_11337/nxyw/202305/t20230514_4099975.html, 19588 的报错,请问这个该如何解决呀。

报错内容如下:

指定的浏览器页面尚未加载完成, https://www.nx.gov.cn/zwxx_11337/nxyw/202305/t20230514_4099975.html, 19588
Traceback (most recent call last):
File "D:\影刀RPA\ShadowBot\shadowbot-5.10.36\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\影刀RPA\ShadowBot\shadowbot-5.10.36\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\影刀RPA\ShadowBot\shadowbot-5.10.36\python\lib\site-packages\xbot_interpreter.py", line 87, in <module>
main()
File "D:\影刀RPA\ShadowBot\shadowbot-5.10.36\python\lib\site-packages\xbot_interpreter.py", line 47, in main
try:
File "C:\Users\wo\AppData\Local\ShadowBot\users\09fa56f1-f21e-4ba9-8d4b-93b90737784d\apps\33e106eb-a436-4187-a8dd-18576ef12b89\xbot_robot\main.py", line 40, in main
raise e
File "C:\Users\wo\AppData\Local\ShadowBot\users\09fa56f1-f21e-4ba9-8d4b-93b90737784d\apps\33e106eb-a436-4187-a8dd-18576ef12b89\xbot_robot\main.py", line 36, in main
已获取的网页信息web_page_attribute = xbot_visual.web.browser.get_details(browser=当前循环到的网页web_page, operation="text", _block=("main", 8, "获取网页信息"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 74, in get_details
File "<string>", line 51, in get_text
File "<string>", line 764, in _invoke
File "<string>", line 115, in execute
File "<string>", line 88, in execute
xbot.errors.UIAError: 指定的浏览器页面尚未加载完成, https://www.nx.gov.cn/zwxx_11337/nxyw/202305/t20230514_4099975.html, 19588

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