Answer by Pavel Veller for Xpath - Get HTML element if its class contains...
you could use contains() in your XPath predicate. like this:div[contains(@class, 'header')]
View ArticleXpath - Get HTML element if its class contains some text
Can I get an element if its class contains some text?Example:<div class="headerbody"></div> - match (header)<div class="headerbottom"></div> - match (header)<dov...
View Article
More Pages to Explore .....