A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://seleniumhq.github.io/selenium/docs/api/dotnet/webdriver/OpenQA.Selenium.Logs.html below:

Class Logs

Class Logs
Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

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

public class Logs : ILogs
Inheritance

Logs

Implements
Inherited Members
Constructors Logs(WebDriver)

Initializes a new instance of the Logs class.

public Logs(WebDriver driver)
Parameters
driver WebDriver

Instance of the driver currently in use

Exceptions
ArgumentNullException

If driver is null.

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.

Exceptions
ArgumentNullException

If logKind is null.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4