0

I'm programming an end-to-end test for my website, but I cannot select my element.

snippet

Anthony Mastrean
  • 21,032
  • 20
  • 99
  • 180

1 Answers1

2

You can try this...

element(by.css('[ng-reflect-index="2"]'))

However ng-reflect-* are used for debugging purposes (thanks, @alexce, for this piece of information). So you shouldn't really rely on them in your tests.

Anthony Mastrean
  • 21,032
  • 20
  • 99
  • 180
demouser123
  • 3,682
  • 7
  • 44
  • 75