HTML::Selector syntax help

I’m trying to do something like “label=Something+span#id” where
‘Something’ is the text of the label, but can’t figure out how to do it.
I
tried using an attribute along the lines of [text=Something], but that
didn’t work either.

Thanks,
Steve