title: how to add modify headers to the fifrefox profile and run the test in the iphone user agent using selenium webdriver
body: <p>how to add modify headers to the fifrefox profile and run the test in  the user agent Value: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/7D11. for that i have used the below code fp is the firefox</p>
  
  <pre><code>profile object fp.setEnableNativeEvents(true);                  
  File file = new File("C:\\FirefoxProfile\\modify_headers-0.7.1.1-fx.xpi");
  //File file = new File("C:\\AddOn");
  fp.addExtension(file);
  fp.setPreference("extensions.modify_headers.currentVersion", "0.7.1.1-fx");
  fp.setPreference("modifyheaders.config.alwaysOn", true);
  fp.setPreference("modifyheaders.headers.count", 2);
  fp.setPreference("modifyheaders.headers.action1", "Modify");
  fp.setPreference("modifyheaders.headers.name0", "User-Agent");
  fp.setPreference("modifyheaders.headers.value0", "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/7D11");
  fp.setPreference("modifyheaders.headers.enabled0", true);                   
  </code></pre>