我试图让机器人框架点击iframe中的一个按钮。选择带有select frame
的iframe后,找不到按钮的定位器。有没有办法找到正确的定位器
按钮HTML:
<button _ngcontent-wwc-c83="" soho-menu-button="" icon="add" menu="add-popupmenu" class="btn-primary btn-icon right-content__add-btn btn-menu has-tooltip hide-focus" _nghost-wwc-c43="" type="button" aria-haspopup="true" aria-controls="add-popupmenu">
<svg _ngcontent-wwc-c43="" soho-icon="" aria-hidden="true" focusable="false" role="presentation" class="icon">
<use href="#icon-add"></use>
</svg>
<!----><!---->
</button>
有一个
svg
标记,您可能需要使用以下xpath:在继续之前,请在HTMLDOM中检查我们是否有唯一的条目
相关问题 更多 >
编程相关推荐