I'm looking to find all elements with a specific class, there can be multiple type of tags with that class name. Suppose I have div s, span s, p s, with same class and I need to find all of them based on class. How can i do it.
I tried:
//[contains(@class,'x')]
this doesn't work. Please suggest how I can achieve it.