Can we get an element by specifying a class name that has spaces in it using the CSS selector?
Css vs xpath selector
I have edited the question, I think it will be clear now.
you can’t do that as it like this directly.
although you can scrap all the tags and check if the class tag value contains a space.