Quantcast
Channel: Xpath - Get HTML element if its class contains some text - Stack Overflow
Browsing all 2 articles
Browse latest 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 all 2 articles
Browse latest View live




Latest Images