Edge Css Selector 用不起还是什么问题

一光年 2022-6-18 441

版本:Windows x64(64位) UiBot 社区版 6.0.1 版

网页:https://www.xuexi.cn/682fd2c2ee5b0fa149e0ff11f8f13cea/9a3668c13f6e303932b5e0e100fc248b.html


具体见附件截图


代码:

sRet = UiElement.GetValue({"html":{"tagName":"DIV","attrMap":{"tag":"DIV","parentid":"page-main","aaname":"13"},"index":0},"wnd":[{"app":"chrome","cls":"Chrome_WidgetWin_1","title":"*"},{"cls":"Chrome_RenderWidgetHostHWND","title":"Chrome Legacy Window"}]},{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
TracePrint(sRet)

或者:

sRet = UiElement.GetValue({"html":{"tagName":"div","attrMap":{"css-selector":"body>div>div>div>section>div>div>div>div>div>section>div>div>div>div>div>section>div>div>div>div>div>section>div>div>div>div>div>section>div>div>div>div>div>section>div>div>div>div>div"},"index":26},"wnd":[{"app":"chrome","cls":"Chrome_WidgetWin_1","title":"*"},{"cls":"Chrome_RenderWidgetHostHWND","title":"Chrome Legacy Window"}]},{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
TracePrint(sRet)

都要提示报错

上传的附件:
  • 1.jpg (大小:202.92K,下载次数:0)
  • 2.jpg (大小:130.76K,下载次数:0)
最新回复 (2)
返回
发新帖