From 24747205e3c4532424807083c024e220da598399 Mon Sep 17 00:00:00 2001 From: maxmattone Date: Wed, 10 Nov 2021 12:40:43 +0000 Subject: [PATCH] localProxyHost requires an additional dash We add some syntactic sugar for `proxyHost`, Local will automatically add a dash a that beginning of the parameter name. see link: https://github.com/browserstack/browserstack-local-java/blob/3ffdab3366fa24e6d0809da5093b200cf7be8794/src/main/java/com/browserstack/local/Local.java#L42 But don't have the same behavior with localProxyHost. So we must use `-localProxyHost` instead. Same for localProxyPort --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 069ec6c..8c5e648 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,8 @@ To use local proxy in local testing - * localProxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified ```java -bsLocalArgs.put("localProxyHost", "127.0.0.1"); -bsLocalArgs.put("localProxyPort", "8000"); +bsLocalArgs.put("-localProxyHost", "127.0.0.1"); +bsLocalArgs.put("-localProxyPort", "8000"); bsLocalArgs.put("-localProxyUser", "user"); bsLocalArgs.put("-localProxyPass", "password"); ``` pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy