robot framework总是找不到元素报错

用robot framework定位提交按钮时候总是报错,但是按钮明明就在那里而且没有用frame框架,求解!图片中的两个创建按钮id name等等信息完全相同!不知道有没有影响
错误信息:

WebDriverException: Message: unknown error: Element <button id="submit-button" class="btn btn-primary ng-binding" type="button" ng-disabled="form.$invalid || networkInvalidTag || !ipv6AddInvalidTag" ng-click="action.submit()">...</button> is not clickable at point (1222, 683). Other element would receive the click: <div tabindex="-1" role="dialog" class="modal fade ng-isolate-scope dnsListContent in" ng-class="{in: animate}" ng-style="{'z-index': 1050 + index*10, display: 'block'}" ng-click="close($event)" modal-window="" window-class="dnsListContent" index="1" animate="animate" style="z-index: 1060; display: block;">...</div>
  (Session info: chrome=71.0.3578.98)
  (Driver info: chromedriver=72.0.3626.7 (efcef9a3ecda02b2132af215116a03852d08b9cb),platform=Windows NT 6.1.7601 SP1 x86_64)

图片描述

阅读 2.6k
1 个回答
新手上路,请多包涵

id信息对不一定是对的,你需要看一下webdriver具体聚焦到哪个窗口了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题