From 051f4f56efbb537258614e9b267a58dcc9e3fa9a Mon Sep 17 00:00:00 2001 From: Pete Houston Date: Tue, 1 Dec 2015 20:11:47 +0700 Subject: [PATCH] Add sample for proxy usage --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 32000413e..e83dd115c 100644 --- a/README.md +++ b/README.md @@ -280,6 +280,24 @@ need to update the `helpers.WebDriverIO.proxy` key. } ``` +For example, + +```js +{ + "helpers": { + "WebDriverIO": { + "proxy": { + "proxyType": "manual", + "httpProxy": "http://corporate.proxy:8080", + "socksUsername": "codeceptjs", + "socksPassword": "secret", + "noProxy": "127.0.0.1,localhost" + } + } + } +} +``` + Please refer to [Selenium - Proxy Object](https://code.google.com/p/selenium/wiki/DesiredCapabilities#Proxy_JSON_Object) for more information. ## Current State