Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@n1k0
Created August 9, 2012 10:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save n1k0/3303161 to your computer and use it in GitHub Desktop.
Save n1k0/3303161 to your computer and use it in GitHub Desktop.
$ casperjs t.js
[info] [phantom] Starting...
[info] [phantom] Setting HTTP authentication for user user
[info] [phantom] Running suite: 2 steps
[debug] [phantom] opening url: https://www.google.com, HTTP GET
[debug] [phantom] Navigation requested: url=https://www.google.com/, type=Other, lock=true, isMainFrame=true
[debug] [phantom] Navigation requested: url=https://www.google.fr/, type=Other, lock=true, isMainFrame=true
[debug] [phantom] url changed to "https://www.google.fr/"
[debug] [phantom] Successfully injected Casper client-side utilities
[info] [phantom] Step 2/2 https://www.google.fr/ (HTTP 0)
https://www.google.fr/
[debug] [phantom] Capturing page to /Users/nperriault/Google.png with clipRect {"height":508,"left":0,"top":-2,"width":400}
[info] [phantom] Capture saved to /Users/nperriault/Google.png
[info] [phantom] Step 2/2: done in 4280ms.
[info] [phantom] Done 2 steps in 4282ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment