Css vs xpath selector

Can we get an element by specifying a class name that has spaces in it using the CSS selector?

hey @Mohit2000 ,
Can you be please more brief on the doubt , its a bit confusing.

Thank You :slightly_smiling_face:.

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.