title: Getting a string from a in specific h2 header
body: <p>I have html which have couple headers. Single one looks like this: </p>
  
  <pre><code>&lt;h2 class="product-name"&gt;
                  &lt;a href="url"&gt;
                      text&lt;/a&gt;
              &lt;/h2&gt;
  </code></pre>
  
  <p>How I can get the 'text' only if there is class=product-name in the h2?
  I tried some ways to do this and none of them worked. </p>