title: echo user agent Casperjs
body: <p>So I've set a new user agent using: </p>
  
  <pre><code>casper.userAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36(KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36');
  </code></pre>
  
  <p>But I would like to obtain the newly modified user agent for testing purposes, so how does one print out a user agent that has been modified using <code>casper.js</code>?</p>