Skip to content

Commit 051f4f5

Browse files
committed
Add sample for proxy usage
1 parent f228087 commit 051f4f5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,24 @@ need to update the `helpers.WebDriverIO.proxy` key.
280280
}
281281
```
282282
283+
For example,
284+
285+
```js
286+
{
287+
"helpers": {
288+
"WebDriverIO": {
289+
"proxy": {
290+
"proxyType": "manual",
291+
"httpProxy": "http://corporate.proxy:8080",
292+
"socksUsername": "codeceptjs",
293+
"socksPassword": "secret",
294+
"noProxy": "127.0.0.1,localhost"
295+
}
296+
}
297+
}
298+
}
299+
```
300+
283301
Please refer to [Selenium - Proxy Object](https://code.google.com/p/selenium/wiki/DesiredCapabilities#Proxy_JSON_Object) for more information.
284302
285303
## Current State

0 commit comments

Comments
 (0)