mardi 10 septembre 2019

How to select elements with the same css selector

I have numerous elements in my ui tests that have the same css selector name but the issue I'm have is how to select each of them separately.

I recall there was a way to add [1],[2] after each of them but i cant seem to make it work.

I'm currently using "[data-qa-inning-value]"[1], "[data-qa-inning-value]"[2], etc but it is not picking it up, any help?

It currently isn't picking anything up but I do remember there was a way to do it but I just cant find it in my notes

Aucun commentaire:

Enregistrer un commentaire