.usingGhostDriver(ghostDriverfile) .usingAnyFreePort() .withProxy(proxy) .withLogFile(new File(PHANTOMJS_DEFAULT_LOGFILE)) .usingCommandLineArguments(
.withProxy(proxy) .usingCommandLineArguments( findCLIArgumentsFromCaps(desiredCapabilities, PHANTOMJS_CLI_ARGS))
.usingGhostDriver(ghostDriverfile) .usingAnyFreePort() .withProxy(proxy) .withLogFile(findLogFile()) .withAcceptSslCerts(findAcceptSslCerts(desiredCapabilities))