Hi,
I have browsermob integrated with selenium, this runs absolutely fine. I was asked to do poc on integrating browsermob with nightwatch.
I have managed to use rest api provided in documentation. I work behind corporate proxy. In java, I did something like this
BrowserMobProxy server = new BrowserMobProxyServer();
server.chainedProxyAuthorization("userid", "password", AuthType.BASIC);
server.setChainedProxy(new InetSocketAddress("upstreamproxy address", upstream port));
In documentation, it is said we can set chain proxy username and password in '/proxy'. My question is how to set upstream proxy address via rest api??
I want to do below using rest api.
server.setChainedProxy(new InetSocketAddress("upstreamproxy address", upstream port));
Any help would be appreciated.
Thanks,
Rajesh N