Questions tagged [casperjs]

CasperJS is a JavaScript based navigation scripting & testing utility for PhantomJS (WebKit) and SlimerJS (Gecko). See SpookyJS for the use of CasperJS inside of node.js.

Definition:

From the Official Documentation:

CasperJS is an open source navigation scripting & testing utility written in JavaScript for the headless browser and (). It eases the process of defining a full navigation scenario and provides useful high-level functions, methods & syntactic sugar for doing common tasks such as:


Important Links:


Related Tags:

2447 questions
0
votes
2 answers

Using CasperJS within a regular JavaScript file

I am trying to create a NodeJS program that utilizes CasperJS within it. I have run into the error that the module 'casper' cannot be found. As a result, I have tried to npm install spooky --save as I have read around that it is a driver, but I am…
Gabe Gomez
  • 81
  • 2
  • 11
0
votes
2 answers

CasperJS - Access page's content while trying to fill drop-down menu through a loop

I'm trying some tests with casperjs and the certain situation here is: extracting city names from a drop-down menu, (Already Done) then select each city (with casper.fill()) which leads to load new contents and URL change on the page,…
DummyBeginner
  • 411
  • 10
  • 34
0
votes
1 answer

CasperJS download copying folder path instead of downloading specified file

I am new to working with CasperJS and JavaScript in general. At the moment, I am trying to learn how to download a file from a git repo. While reading the reference page, I stumbled upon the download method that CasperJS has. As a result, I have…
Gabe Gomez
  • 81
  • 2
  • 11
0
votes
1 answer

How to add a json object to a json array in an external file in javascript / capserjs

I am writing to a json file in casperjs and am trying to add new objects to it. json file looks like { "visited": [ { "id": "258b5ee8-9538-4480-8109-58afe741dc2f", "url": "https://................" }, { "id":…
Pete Herc
  • 163
  • 10
0
votes
1 answer

Phantomjs / Casper won't render inside an