Hey guys! I'm new to CasperJS and I'm trying to get some test scripts to run to no avail. I installed PhantomJS and CasperJS, added them to the PATH so I can run from CMD. I got it to tell me what version it was by running 'casperjs --version'. But it's still throwing errors when I try running scripts. At first it gave this error:
"Unable to open file: ****.js
F:\casperjs\batchbin..\bin\bootstrap.js:340 in initCasperCli"
Using that file I come up with this error:
"Unable to open file: ****.js
F:\casperjs\batchbin..\bin\bootstrap.js:95 in __die"
I'm not sure where to go from here. I was just trying to run a simple file I coded to see what happens. Here's the code I am trying to use to grab a table from this website:
"var casper = require('casper').create();
this.echo(this.getHTML('div#application', true));
});"
I want to pull some tables and pictures from this website, and dump them into an Excel file. I've got a bunch of urls to do, so I will have to create an array for them. But, it's been a while since I've done any coding so I'm starting simple with just one url and one table. Too bad I can't even get that to work!
Any help/advice/tips would be greatly appreciated.
Thank you!
~Patrick