Top "Casperjs" questions

CasperJS is a JavaScript based navigation scripting & testing utility for PhantomJS (WebKit) and SlimerJS (Gecko).

Installing CasperJS on Windows: How to do it correctly?

I know there is a documentation from CasperJS website about how to install CasperJS on Windows, but bear with me …

windows phantomjs casperjs
How to increase the timeout in CasperJS

I am using waitFor(). The code as below: casper.waitFor(function check() { return this.evaluate(function() { return this.evaluate(someFunction, …

javascript phantomjs casperjs
How Do I use jQuery in CasperJS?

casper.start(URL, function() { casper.page.injectJs('C:/Users/Mike/Documents/n1k0-casperjs-bc0da16/jquery-1.10.2.min.js'); var names = $(…

javascript jquery casperjs
casperjs does not find phantomjs

I've downloaded the latest version of casperjs (1.03) and phantomjs (1.9.2). So I took this little simple script from the casper page: …

path phantomjs casperjs
casperjs click() a form element to submit, wait, run queries on next page?

I would like to click a submit button, wait for the next page to load, then obtain html on that …

casperjs
CasperJS/PhantomJS doesn't load https page

I know there are certain web pages PhantomJS/CasperJS can't open, and I was wondering if this one was one …

javascript ssl web-scraping phantomjs casperjs
setInterval and this.wait in casper.js

I need to make a loop of 3 times and 2 seconds in between each iteration. I tried these 3 options: Option 1 var …

javascript webkit qtwebkit phantomjs casperjs
How to set value of an input tag in casperJs

I have input element as shown : <input type="text" class="bg-white" id="couponCode" value=""> How can i set/…

web-scraping phantomjs casperjs
console.log doesn't work in CasperJS' evaluate with setTimeout

Why when I use console.log in evaluate, it works: casper.then(function() { this.evaluate( function() { console.log('hello'); }); }); But …

javascript casperjs
How do I access an iframe from CasperJS?

I have a webpage with an iframe. I'd like to access the contents of the iframe using CasperJS. In particular, …

javascript iframe webkit phantomjs casperjs