Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 437 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 437 Bytes

Simple CasperJS Example

This is a really simple example of using CasperJS to navigate around a webpage.

Requirements

This example assumes you are running on OSX.

Install node.js.

brew install node

Install CasperJS using npm. For this simple example, we use the -g call to install CasperJS globally.

npm install -g casperjs

Execution

To call the CasperJS script from the command line:

casperjs hacker-news.js