Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding userAgent function to spooky #17

Merged
merged 1 commit into from

2 participants

@DelvarWorld

No description provided.

@lawnsea lawnsea merged commit 3f42f05 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 9, 2012
  1. @DelvarWorld
This page is out of date. Refresh to see the latest.
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 () {},
Something went wrong with that request. Please try again.