title: Difference between PhantomJSDriver and FirefoxDriver
body: <p>I'm trying to write integration tests that require doing GET requests in HTTPS and the tests will run in a remote server. Which driver would be better and how could I set this up? When I do a <code>driver.get</code> it gets stuck there forever.</p>
  
  <pre><code>capabilities = new DesiredCapabilities();
  capabilities.setJavascriptEnabled(true);
  capabilities.setCapability("takeScreenshot", true);
  capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
  capabilities.setCapability("phantomjs.page.settings.userAgent",
              "Mozilla/5.0 (Unknown; Linux i686) AppleWebKit/534.34 (KHTML, like Gecko) Safari/534.34");
  driver = new PhantomJSDriver(capabilities);
  </code></pre>