Skip to content

Commit

Permalink
Merge pull request #23 from thebeardedcoderIN/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
francisf authored Sep 10, 2019
2 parents 963ad7f + 39deb1d commit 8781725
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,27 @@ To use a proxy for local testing -
bs_local_args = { "key" => "<browserstack-accesskey>", "proxyHost" => "127.0.0.1", "proxyPort" => "8000", "proxyUser" => "user", "proxyPass" => "password"}
```

#### Local Proxy
To use local proxy in local testing -

* localProxyHost: Hostname/IP of proxy, remaining proxy options are ignored if this option is absent
* localProxyPort: Port for the proxy, defaults to 8081 when -localProxyHost is used
* localProxyUser: Username for connecting to proxy (Basic Auth Only)
* localProxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified

```
bs_local_args = { "key" => "<browserstack-accesskey>", "localProxyHost" => "127.0.0.1", "localProxyPort" => "8000", "-localProxyUser" => "user", "-localProxyPass" => "password"}
```

#### PAC (Proxy Auto-Configuration)
To use PAC (Proxy Auto-Configuration) in local testing -

* pac-file: PAC (Proxy Auto-Configuration) file’s absolute path

```
bs_local_args = { "key" => "<browserstack-accesskey>" , "-pac-file" => "<pac_file_abs_path>"}
```

#### Local Identifier
If doing simultaneous multiple local testing connections, set this uniquely for different processes -
```
Expand Down

0 comments on commit 8781725

Please sign in to comment.