private void setLoggingLevel ( DesiredCapabilities caps ) { final LoggingPreferences logPrefs = new LoggingPreferences ( ) ; logPrefs . enable ( LogType . BROWSER , Level . ALL ) ; logPrefs . enable ( LogType . CLIENT , Level . OFF ) ; logPrefs . enable ( LogType . DRIVER , Level . OFF ) ; logPrefs . enable ( LogType . PERFORMANCE , Level . OFF ) ; logPrefs . enable ( LogType . PROFILER , Level . OFF ) ; logPrefs . enable ( LogType . SERVER , Level . OFF ) ; caps . setCapability ( CapabilityType . LOGGING_PREFS , logPrefs ) ; }
Sets the logging level of the generated web driver .