1.导包SeleniumLibrary 失败,红色字体
解决方法
重新导入就成功了
元素定位
相对路径 //form/span/input
xpath=//form/span[2]/input
通过属性定位 xpath=//input[@autocomplete='off']
通过部分属性 xpath=//starts-with(@autocomplete,'of')]
通过文本定位 xpath=//a[text()='新闻']
posted on 2021-08-11 22:23 小肥羊要进步 阅读(62) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3