I am trying to use Casperjs to run some tests on a site that is hosted internally. The website when brought up on chrome usually has this error - Your Connection is not private. curl to that url gives me a 200.
This is the code used
var casper = require('casper').create();
casper.start('https://internalsite', function() {
this.echo(this.getTitle());
});
casper.run();
I ran it with casperjs --ignore-ssl-errors=yes test.js it gave me a blank output.
How do I debug this? I set loglevel to Debug, no new info was shown.
Thanks