What I currently have is the following selector-specification:
const cssSelector = "td[id*=someTableName--currentState-anotherSpecificationBla-rows-row1-col]";
It works basically, but I would like to remove the middle-part of the search-string to something like this:
// Having 'someTableName' somewhere in the id-value AND further to the left "row1-col" ...
const cssSelector = "td[id*=someTableName*row1-col]";
Shall be: The middle-part replaced with some kind of wild-card.
Is that possible with CSS-selectors? Or does it have to be one continuous string?
Aucun commentaire:
Enregistrer un commentaire