public RemoteWebDriver( CommandExecutor executor, Capabilities desiredCapabilities, Capabilities requiredCapabilities) { this.executor = executor; boolean isProfilingEnabled = desiredCapabilities != null && desiredCapabilities.is(CapabilityType.ENABLE_PROFILING_CAPABILITY); init(isProfilingEnabled); if (executor instanceof NeedsLocalLogs) { ((NeedsLocalLogs) executor).setLocalLogs(localLogs); } startClient(); startSession(desiredCapabilities, requiredCapabilities); }
// For cglib protected RemoteWebDriver() { init(false); }