Browse files

Merge pull request #17 from DelvarWorld/userAgent

Adding userAgent function to spooky
  • Loading branch information...
2 parents b6652c8 + e384a24 commit 3f42f0584be83ba5135a293989638e55a3d63bf7 @lawnsea lawnsea committed Nov 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/bootstrap/casper.js
View
1 lib/bootstrap/casper.js
@@ -14,6 +14,7 @@ var methodsToProvide = {
thenEvaluate: [function fn () {}, 'replacements'],
thenOpen: ['location', 'options'],
thenOpenAndEvaluate: ['location', function fn () {}, 'replacements'],
+ userAgent: ['agent'],
wait: ['timeout', function then () {}],
waitFor: [
function testFn () {}, function then () {},

0 comments on commit 3f42f05

Please sign in to comment.