Table of Contents

Interface ILogs

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Interface allowing handling of driver logs.

public interface ILogs

Properties

AvailableLogTypes

Gets the list of available log types for this driver.

ReadOnlyCollection<string> AvailableLogTypes { get; }

Property Value

ReadOnlyCollection<string>

Methods

GetLog(string)

Gets the set of LogEntry objects for a specified log.

ReadOnlyCollection<LogEntry> GetLog(string logKind)

Parameters

logKind string

The log for which to retrieve the log entries. Log types can be found in the LogType class.

Returns

ReadOnlyCollection<LogEntry>

The list of LogEntry objects for the specified log.

Exceptions

ArgumentNullException

If logKind is null.