title: Facebook Login Button - Click with casperjs/phantomjs dont work
body: <p>i try to test the facebook login with CasperJS, but when "click" no popup are shown in the screenshots.</p>
  
  <p>But when i click manually in the browser it works.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>casper.then(function () {
      casper.waitForSelector('.fb-login-button iframe', function () {
      casper.capture('facebook_button_shown.png');   
      casper.click('#facebookTriggerButton');
  
      casper.wait(1000, function() {
         casper.capture('popup_shown.png');   
      });
    });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="facebookTriggerButton" class="fb-login-button"
       data-scope="public_profile, email"
       data-max-rows="1"
       data-size="xlarge"
       onlogin="checkStatus()"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>