You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -221,7 +221,7 @@ var webdriverjs = require("webdriverjs")
221
221
if(!err) {
222
222
proxy.startHAR(data.port, 'http://localhost:8004', function (err, resp) {
223
223
if (!err) {
224
-
// DO WHATEVER WEB INTERFACTION YOU WANT USING THE PROXY
224
+
// DO WHATEVER WEB INTERACTION YOU WANT USING THE PROXY
225
225
doSeleniumStuff(proxyHost +':'+data.port, function () {
226
226
proxy.getHAR(data.port, function(err, resp) {
227
227
if (!err) {
@@ -270,7 +270,7 @@ function doSeleniumStuff(proxy, cb) {
270
270
}
271
271
```
272
272
273
-
In this example I am manually controlling the browsermob-proxy - the convenenice methods 'doHAR' and 'cbHAR' do most of this stuff for you so use them!
273
+
In this example I am manually controlling the browsermob-proxy - the convenience methods 'doHAR' and 'cbHAR' do most of this stuff for you so use them!
274
274
275
275
The sequence is
276
276
@@ -285,15 +285,15 @@ Full API
285
285
--------
286
286
287
287
**start([ PORT ], CALLBACK)**
288
-
289
-
Initiailizes a proxy
288
+
289
+
Initializes a proxy
290
290
291
291
PARAMETERS:
292
292
293
-
* an optional PORT paramter specifying which port to open up a proxy on - if not provided browsermob will pick one.
294
-
* CALLBACK(ERROR, DATA) function
295
-
1. ERROR string if there was an error
296
-
2. DATA object whose only memeber is 'port' - the port the proxy is listening on
293
+
* an optional PORT parameter specifying which port to open up a proxy on - if not provided browsermob will pick one.
294
+
* CALLBACK(ERROR, DATA) function
295
+
1. ERROR string if there was an error
296
+
2. DATA object whose only member is 'port' - the port the proxy is listening on
0 commit comments