Permalink
Browse files

Adding userAgent function to spooky

  • Loading branch information...
1 parent b6652c8 commit e384a240eebda00c464457606a77c3208b1e3e1e @DelvarWorld DelvarWorld 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 e384a24

Please sign in to comment.