If this is the ID -> div id="random_is_good"
I want to get this element but only to catch "_is_good"
how can i do it ?
Or I only have the start and end -> "random_ _good"
>Solution :
Symbol * – Match elements that with partial text match
cy.get('[div*="_is_good"]')
Symbol ^ – Match elements that starts with given value
div[id^="random_"]
Symbol $ – Match elements that ends with given value
div[id$="_good"]