Exécuter avec phantomjs --ignore-ssl-errors=true à partir de casperjs

J'ai un problème avec la page https. La Page est complètement ok, il existe, mais phantomjs me dire quelque chose d'autre: "chargement des ressources a échoué avec l'état de faillite. J'ai lu à ce sujet pendant un certain temps et pour l'instant je sais que c'est phantomjs bug et la solution à ce problème est:

--ignore-ssl-errors=true

Donc je connais la solution, mais ne sais pas comment l'utiliser. Comment puis-je transmettre à phantomjs de casper? Où dois-je le faire ?

EDIT:

Ensemble du code:

var casper = require('casper').create({
        verbose: true,
        logLevel: 'warning',
        pageSettings: { javascriptEnabled:  true },
        viewportSize: {width: 1024, height: 768}
    });

    var url = 'http://us3.php.net/manual/en/function.explode.php',
        xp = require('casper').selectXPath;

    //### AKCJE PODSTAWOWE ###
        casper.start(url);

            casper.userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0');

            casper.then(function(){this.captureSelector('logi/img1.png', 'body');});

            casper.then(function(){ this.sendKeys(xp('/html/body/nav/div/div/div/form/span/input[2]'),'test18');});

            casper.then(function(){this.captureSelector('logi/img2.png', 'body');})

            casper.thenClick(xp('/html/body/div[3]/div/section/div/div[2]/a[1]'));

            casper.wait(2000);
            casper.then(function(){this.captureSelector('logi/img3.png', 'body');})

            casper.run(function(){ this.exit(); }); 
  • J'ai enlevé ma solution originale car il ne pas accomplir ce que vous désirez.