Quantcast
Channel: Xpath - Get HTML element if its class contains some text - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



Xpath - 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
Browsing latest articles
Browse All 2 View Live




Latest Images