mardi 18 septembre 2018

Issue finding css selectors with different values

I am having issue with selectors that have different values associated with them, currently i have 4 elements:

data-qa-pick-title="0"
data-qa-pick-title="1"
data-qa-pick-title="2"
data-qa-pick-title="3"

But currently im getting the warning org.openqa.selenium.InvalidSelectorException: invalid selector: An invalid or illegal selector was specified when i use data-qa-pick-title="0", etc.

I'm guessing this is because of the ="0" part but i cant seem to figure out what attribute to use here?

Aucun commentaire:

Enregistrer un commentaire