Skip to content

Commit ad0d814

Browse files
authored
Merge pull request #83 from thebeardedcoderIN/patch-1
Update README.md
2 parents b505ff6 + 8e486ba commit ad0d814

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,27 @@ To use a proxy for local testing -
8383
bs_local_args = { 'key': '<browserstack-accesskey>', 'proxyHost': '127.0.0.1', 'proxyPort': '8000', 'proxyUser': 'user', 'proxyPass': 'password' }
8484
```
8585

86+
#### Local Proxy
87+
To use local proxy in local testing -
88+
89+
* localProxyHost: Hostname/IP of proxy, remaining proxy options are ignored if this option is absent
90+
* localProxyPort: Port for the proxy, defaults to 8081 when -localProxyHost is used
91+
* localProxyUser: Username for connecting to proxy (Basic Auth Only)
92+
* localProxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified
93+
94+
```
95+
bs_local_args = { 'key': '<browserstack-accesskey>', 'localProxyHost': '127.0.0.1', 'localProxyPort': '8000', 'localProxyUser': 'user', 'localProxyPass': 'password' }
96+
```
97+
98+
#### PAC (Proxy Auto-Configuration)
99+
To use PAC (Proxy Auto-Configuration) in local testing -
100+
101+
* pac-file: PAC (Proxy Auto-Configuration) file’s absolute path
102+
103+
```
104+
bs_local_args = { 'key': '<browserstack-accesskey>', 'pac-file': '<pac_file_abs_path>' }
105+
```
106+
86107
#### Local Identifier
87108
If doing simultaneous multiple local testing connections, set this uniquely for different processes -
88109
```js

0 commit comments

Comments
 (0)