public Proxy asSeleniumProxy ( ) { Proxy seleniumProxyConfig = new Proxy ( ) ; seleniumProxyConfig . setProxyType ( Proxy . ProxyType . MANUAL ) ; seleniumProxyConfig . setHttpProxy ( asHostAndPort ( ) ) ; return seleniumProxyConfig ; }
Returns the Proxy this client wraps in form of a Selenium Proxy configuration object .