Unable to find element where attribute starts with a name
akkaweb opened this issue · comments
AKKAWEB commented
I cannot find a way to get elements with classes that starts with a name. ie:
$('[class^="value"]') <-- starts with string
$('[class$="value"]') <-- ends with string
$('[class~="value"]') <-- i believe this is the contains string version
Is this possibe?
AKKAWEB commented
Actually I found a solution on the cheerio repository
cheeriojs/cheerio#811 (comment)