I want to know that if i ahve this div tag
<div class="class1 class2 class3" > some stuff </div>
Then if i mention this //div[@class='class2']
Will it find it or it just only find with single class only
This has been asked before, but you should use:
//*[contains(concat(' ', normalize-space(@class), ' '), ' class2 ')]
n.b. there are some online tools for evaluating xpaths