title: Casperjs click and ajax
body: <p>I'm trying to use casperjs on easyjet.com  because it is very similar to what I have to test in the future, (very similar ajax part in result page).</p>
  
  <p>In the flight results page when I click on a link I can not trigger any action ajax. </p>
  
  <p>From debugging I see that the link is then clicked but does not trigger ajax part. </p>
  
  <p>I cannot understand where I'm wrong. </p>
  
  <p>Thanks in advance</p>
  
  <p>this is the code:</p>
  
  <p><code></p>
  
  <pre><code>casper.thenEvaluate (function () {
      casper.waitForSelector ("# Flight3987022. priceSmaller.targetPrice.formatedPrice.cellPrice", 
          function success () {
              casper.assertExists ("# Flight3987022. priceSmaller.targetPrice.formatedPrice.cellPrice"); 
              this.click ("# Flight3987022. priceSmaller.targetPrice.formatedPrice.cellPrice"); 
          }, 
          function fail () {
             casper.assertExists ("# Flight3987022. priceSmaller.targetPrice.formatedPrice.cellPrice"); 
      }); 
  });
  </code></pre>
  
  <p></code></p>