var casper = require('casper').create({
verbose: false,
logLevel: 'debug',
defaultWaitForTimeout: 60000,
pageSettings: {
loadImages: true,
loadPlugins: true,
userAgent: 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0'
},
clientScripts: ['../jquery.js']
});
casper.options.viewportSize = {width: 1900, height: 1000};
casper.options.waitTimeout = 60000;
var utils = require('utils');
var numbers = [];
casper.start('https://www.facebook.com/', function () {
this.then(function () {
this.captureSelector("1_page.png", "html");
});
});
--
CasperJS homepage & documentation: http://casperjs.org/
CasperJS @github: https://github.com/n1k0/casperjs
You received this message because you are subscribed to the Google Groups "casperjs" group.
Visit this group at http://groups.google.com/group/casperjs?hl=en.
---
You received this message because you are subscribed to a topic in the Google Groups "CasperJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/casperjs/AqqCTb1Afpc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to casperjs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.