src/php/DataSift/BrowserMobProxy/BrowserMobProxySession.php
public function getWebDriverProxyConfig()
    {
        $this->requireOpenConnection();

        $address = new HttpAddress($this->getUrl());

        return array (
            'proxyType' => 'manual',
            'httpProxy' => $address->hostname . ':' . $this->getPort(),
            'sslProxy'  => $address->hostname . ':' . $this->getPort()
        );
    }
public function getWebDriverProxyConfig()
    {
        $this->requireOpenConnection();

        $address = new HttpAddress($this->getUrl());

        return array (
            'proxyType' => 'manual',
            'httpProxy' => $address->hostname . ':' . $this->getPort(),
            'sslProxy'  => $address->hostname . ':' . $this->getPort()
        );
    }
public function getWebDriverProxyConfig ( ) { $ this -> requireOpenConnection ( ) ; $ address = new HttpAddress ( $ this -> getUrl ( ) ) ; return array ( 'proxyType' => 'manual' , 'httpProxy' => $ address -> hostname . ':' . $ this -> getPort ( ) , 'sslProxy' => $ address -> hostname . ':' . $ this -> getPort ( ) ) ; }
Returns the config information that needs to be given to webdriver
to make it use browsermob-proxy

@return array
Returns the config information that needs to be given to webdriver to make it use browsermob - proxy