摘要: 动态ID/class 这种情形下,无法使用传统的定位方式直接定位,但是可以通过其他方式: cy.xpath("//*[starts-with(@id,'MultipleTextBox')]") //找id以MultipleTextBox开头的元素 cy.xpath("//*[ends-with(@i 阅读全文
posted @ 2021-11-15 14:46 想得开居士 阅读(2045) 评论(0) 推荐(0)