Table of Contents

Class ICommandResponseExtensions

Namespace
OpenQA.Selenium.DevTools
Assembly
WebDriver.dll

Provides extension methods for command responses.

public static class ICommandResponseExtensions
Inheritance
ICommandResponseExtensions
Inherited Members

Methods

GetResponse<TCommandResponse>(ICommandResponse)

Returns the strongly-typed response for an object impelementing the ICommandResponse interface.

public static TCommandResponse GetResponse<TCommandResponse>(this ICommandResponse response) where TCommandResponse : class, ICommandResponse

Parameters

response ICommandResponse

The ICommandResponse object to convert to the implementation type

Returns

TCommandResponse

The concrete implementation of the command response.

Type Parameters

TCommandResponse

The concrete implementation type of command response expected.