Skip to content
Browse files

Merge pull request #2 from skratchdot/newPageFix

Adding pageRef to newPage() call.
  • Loading branch information...
2 parents 968c48f + 7e3404f commit 59ab6c46628acc094c3df0e358e6e569f7402501 @zzo committed Mar 13, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 index.js
  2. +1 −1 package.json
View
4 index.js
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2012 ZZO Associates
+ * Copyright (c) 2013 ZZO Associates
*/
var http = require('http')
@@ -126,7 +126,7 @@ Proxy.prototype = {
},
newPage: function(port, name, cb) {
- this.doReq('PUT', '/proxy/' + port + '/har', 'pageRef=' + name, cb);
+ this.doReq('PUT', '/proxy/' + port + '/har/pageRef', 'pageRef=' + name, cb);
},
/*
View
2 package.json
@@ -2,7 +2,7 @@
"name": "browsermob-proxy",
"description": "Javascript bindings for the browsermob-proxy",
"keywords": ["selenium", "test", "testing", "proxy", "tests", "har"],
- "version": "1.0.5",
+ "version": "1.0.6",
"author": "Mark Ethan Trostler <mark@zzo.com>",
"repository": {
"type": "git",

0 comments on commit 59ab6c4

Please sign in to comment.
Something went wrong with that request. Please try again.