[英]how to use custom class names in WebDriverIO
Short answer is: use CSS or xpath selectors https://webdriver.io/docs/selectors.html简短的回答是:使用 CSS 或 xpath 选择器https://webdriver.io/docs/selectors.html
ng-repeat is not a class, it's an element's attribute. ng-repeat 不是 class,它是一个元素的属性。
See also https://www.w3schools.com/cssref/css_selectors.asp and https://devhints.io/xpath另见https://www.w3schools.com/cssref/css_selectors.asp和https://devhints.io/xpath
The answer for your question is following CSS selector:您的问题的答案如下 CSS 选择器:
tr[ng-repeat='document in documentsUploaded']
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.