code: public static PhantomJSDriverService createDefaultService(Capabilities desiredCapabilities) {
          // Look for Proxy configuration within the Capabilities
          Proxy proxy = null;
          if (desiredCapabilities != null) {
              proxy = Proxy.extractFrom(desiredCapabilities);
          }
  
          // Find PhantomJS executable
          File phantomjsfile = findPhantomJS(desiredCapabilities, PHANTOMJS_DOC_LINK, PHANTOMJS_DOWNLOAD_LINK);
  
          // Find GhostDriver main JavaScript file
          File ghostDriverfile = findGhostDriver(desiredCapabilities, GHOSTDRIVER_DOC_LINK, GHOSTDRIVER_DOWNLOAD_LINK);
  
          // Build & return service
          return new Builder().usingPhantomJSExecutable(phantomjsfile)
                  .usingGhostDriver(ghostDriverfile)
                  .usingAnyFreePort()
                  .withProxy(proxy)
                  .withLogFile(findLogFile())
                  .withAcceptSslCerts(findAcceptSslCerts(desiredCapabilities))
                  .usingCommandLineArguments(
                          findCLIArgumentsFromCaps(desiredCapabilities, PHANTOMJS_CLI_ARGS))
                  .usingGhostDriverCommandLineArguments(
                          findCLIArgumentsFromCaps(desiredCapabilities, PHANTOMJS_GHOSTDRIVER_CLI_ARGS))
                  .build();
      }
docs: Configures and returns a new {@link PhantomJSDriverService} using the default configuration.
  
  
  <br>
  In this configuration, the service will use the PhantomJS executable identified by the the
  following capability, system property or PATH environment variables:
  <ul>
  <li>{@link PhantomJSDriverService#PHANTOMJS_EXECUTABLE_PATH_PROPERTY}</li>
  <li>
  {@link PhantomJSDriverService#PHANTOMJS_GHOSTDRIVER_PATH_PROPERTY}
  (Optional - without will use GhostDriver internal to PhantomJS)
  </li>
  </ul>
  <br>
  Each service created by this method will be configured to find and use a free port on the current system.
  <br>
  @param desiredCapabilities desired capabilities
  
  @return A new ChromeDriverService using the default configuration.