Table of Contents

Class RemoteLogs

Namespace
OpenQA.Selenium.Remote
Assembly
WebDriver.dll

Provides a mechanism for examining logs for the driver during the test.

public class RemoteLogs : ILogs
Inheritance
RemoteLogs
Implements
Inherited Members

Constructors

RemoteLogs(RemoteWebDriver)

Initializes a new instance of the RemoteLogs class.

public RemoteLogs(RemoteWebDriver driver)

Parameters

driver RemoteWebDriver

Instance of the driver currently in use

Properties

AvailableLogTypes

Gets the list of available log types for this driver.

public ReadOnlyCollection<string> AvailableLogTypes { get; }

Property Value

ReadOnlyCollection<string>

Methods

GetLog(string)

Gets the set of LogEntry objects for a specified log.

public 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.