Describes the log preferences for a WebDriver session.

Hierarchy

  • Preferences

Constructors

Properties

Methods

Constructors

Properties

prefs_: Map<string, Level>

Methods

  • Sets the desired logging level for a particular log type.

    Parameters

    • type: string | IType

      The log type.

    • level: Level

      The desired log level.

    Returns void

    Throws

    if type is not a string.

  • Converts this instance to its JSON representation.

    Returns {
        [key: string]: string;
    }

    The JSON representation of this set of preferences.

    • [key: string]: string

Generated using TypeDoc