0

how to find an element with custom class name in WebdriverIO

how to find element with this particular class name ng-repeat="document in documentsUploaded"

enter image description here

mo0206
  • 791
  • 5
  • 20
  • 36

2 Answers2

1

Short answer is: use CSS or xpath selectors https://webdriver.io/docs/selectors.html

ng-repeat is not a class, it's an element's attribute.

See also https://www.w3schools.com/cssref/css_selectors.asp and https://devhints.io/xpath

Mike G.
  • 3,860
  • 3
  • 17
  • 18
0

The answer for your question is following CSS selector:

tr[ng-repeat='document in documentsUploaded']
MikoSh
  • 35
  • 4