this.server = server;
this.capabilities = desiredCapabilities;
this.options = options;
try {
logManager = new IOSLogManager(capabilities.getLoggingPreferences());
} catch (Exception ex) {
log.log(Level.SEVERE,"log manager error",ex);
throw new SessionNotCreatedException("Cannot create logManager", ex);
}