【发布时间】:2021-10-31 18:02:42
【问题描述】:
我正在尝试让机器人框架单击 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>
【问题讨论】:
标签: python selenium pycharm robotframework