Permalink
Browse files

Make things a little more dynamic.

  • Loading branch information...
1 parent 7077e80 commit ed33415ea68cd7b32d0c008a4dad69acb0e52632 @smerrill smerrill committed Jun 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 responsive-screenshots.coffee
View
4 responsive-screenshots.coffee
@@ -17,13 +17,13 @@ casper = require('casper').create({
logLevel: "debug",
})
-casper.test.comment 'georgia.gov - Screenshots to test responsive breakpoints'
+casper.test.comment "#{url} - Screenshots to test responsive breakpoints"
casper.start()
# Needed so that the first screenshot works, sadly.
casper.then ->
- @viewport 1280, 1024
+ @viewport breakpoints[0][0], breakpoints[0][1]
@open url + links[0]
@echo "Opening URL #{url + links[0]}."
@wait 2000

0 comments on commit ed33415

Please sign in to comment.