title: casperjs testing an internal site
body: <p>I am trying to run a casper test for an internal site. Its running on pre-production environment, the code so far is </p>
  
  <pre><code>    var casper = require('casper').create({
                   verbose: true,
                   loglevel:"debug"
                   });
  
      // listening to a custom event
      casper.on('page.loaded', function() {
                this.echo('The page title is ' + this.getTitle());
                this.echo('value is: '+ this.getElementAttribute
                         ('input[id="edit-capture-amount"]', 
                          'value'));
      });
  
      casper.start('https://preprod.uk.systemtest.com', function() {
                   this.echo(this.getTitle());
                   this.capture('frontpage.png');
                   // emitting a custom event
                   this.emit('age.loaded.loaded');    
      });
  
      casper.run();
  </code></pre>
  
  <p>as you can see its not much but my problem is the address is not reachable. The capture also shows a blank page. Not sure what i am doing wrong. I have checked the code with cnn and google urls, the title and screen capture works fine. Not sure how to make it work for an internal site. </p>