The following CSS selector works in jQuery so I was expecting it to work in QueryPath 3.0.0, but it only returns an empty value:
div#caption:has(h2):contains('Product Description') div:first
Here is what I am trying to get it to retrieve:
<div id="caption"><h2>Product Description</h2><div>Text I want to capture is here.</div><div>I don't want this text.</div><br clear="all" /></div>
What is wrong with the selector?