Namespace: webdriver.loggingView Sourceclass PreferencesDescribes the log preferences for a WebDriver session. new Preferences()ParametersNone.Instance MethodssetLevel(type, level)code »Sets the desired logging level for a particular log type. ParameterstypestringThe log type. levelwebdriver.logging.LevelThe desired log level. toJSON(arg0)code »Converts this instance to its JSON representation. Parametersarg0string=ReturnsObject<string, string>The JSON representation of this set of preferences.