I have a question. I have elements something like this:
element with id = someGenerated Some:Same:0:name
elemen
Try this:
a[id*='Some:Same'][id$='name']
This will get you all a elements with id containing
a
Some:Same
and have the id ending in
name