title: How to get innerHTML using CasperJS?
body: <p>I want to get attribute of only string in <code>&lt;em&gt;</code> tags of HTML page</p>
  
  <p><a href="https://i.stack.imgur.com/4Ffv6.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/4Ffv6.jpg" alt="enter image description here"></a></p>
  
  <p>I want to get "(868)"</p>
  
  <p>1.</p>
  
  <pre><code>casper.then(function() {
       var word = require('utils').dump(this.getElementAttribute(x('//*[@id="content"]/div[2]/h4/em'), 'em'));
       console.log(word)
  });
  </code></pre>
  
  <p>2.</p>
  
  <pre><code>casper.then(function() {
      var word = require('utils').dump(this.getElementAttribute(h4[class="head"], 'em'));
      console.log(word)
  });
  </code></pre>
  
  <p>I tried both but it returns "null" How to solve the problem?</p>