0

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

snippet

Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188

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,850
  • 21
  • 110
  • 188
demouser123
  • 4,108
  • 9
  • 50
  • 82