Skip to content

Commit d523eb4

Browse files
Update README.md
Added 'pac-file' flag for PAC (Proxy Auto-Configuration) and Local Proxy details in local testing.
1 parent 88f5784 commit d523eb4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: README.md

+21
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,27 @@ To use a proxy for local testing -
7878
bs_local_args = { "key": "<browserstack-accesskey>", "proxyHost": "127.0.0.1", "proxyPort": "8000", "proxyUser": "user", "proxyPass": "password"}
7979
```
8080
81+
#### Local Proxy
82+
To use local proxy in local testing -
83+
84+
* localProxyHost: Hostname/IP of proxy, remaining proxy options are ignored if this option is absent
85+
* localProxyPort: Port for the proxy, defaults to 8081 when -localProxyHost is used
86+
* localProxyUser: Username for connecting to proxy (Basic Auth Only)
87+
* localProxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified
88+
89+
```
90+
bs_local_args = { "key": "<browserstack-accesskey>", "localProxyHost": "127.0.0.1", "localProxyPort": "8000", "-localProxyUser": "user", "-localProxyPass": "password"}
91+
```
92+
93+
#### PAC (Proxy Auto-Configuration)
94+
To use PAC (Proxy Auto-Configuration) in local testing -
95+
96+
* pac-file: PAC (Proxy Auto-Configuration) file’s absolute path
97+
98+
```
99+
bs_local_args = { "key": "<browserstack-accesskey>" , "-pac-file": "<pac_file_abs_path>"}
100+
```
101+
81102
#### Local Identifier
82103
If doing simultaneous multiple local testing connections, set this uniquely for different processes -
83104
```sh

0 commit comments

Comments
 (0)