title: Browsermob is not working with selenium webdriver
body: <pre><code>public class Test_One 
  {
   public static void main(String[] args) throws Exception {
       ProxyServer server = new ProxyServer(8105);
       server.start();
       server.setCaptureHeaders(true);
  
       server.setCaptureContent(true);
       server.newHar("test");
       DesiredCapabilities capabilities = new DesiredCapabilities();
       Proxy proxy = server.seleniumProxy();
       FirefoxProfile profile = new FirefoxProfile();
       profile.setAcceptUntrustedCertificates(true);
       profile.setAssumeUntrustedCertificateIssuer(true);
       profile.setPreference("network.proxy.http", "localhost");
       profile.setPreference("network.proxy.http_port", 8105);
       profile.setPreference("network.proxy.ssl", "localhost");
       profile.setPreference("network.proxy.ssl_port", 8105);
       profile.setPreference("network.proxy.type", 1);
       profile.setPreference("network.proxy.no_proxies_on", "");
       //profile.setProxyPreferences(proxy);
       profile.setPreference(key, value)
       capabilities.setCapability(FirefoxDriver.PROFILE,profile);
       capabilities.setCapability(CapabilityType.PROXY, proxy);
       WebDriver driver = new FirefoxDriver(capabilities);
       driver.get("http://www.google.com");
       Har har1 = server.getHar();
       }
   }
  </code></pre>
  
  <p>I'm new to selenium and broswermob. This is my code. Whe I try to execute this and getting error <code>The method setProxyPreferences(Proxy) is undefined for the type FirefoxProfile</code>. How to solve this?</p>