Table of Contents

Class NetworkResponseHandler

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Allows a user to handle a returned network, potentially modifying it before processing by the browser.

public class NetworkResponseHandler
Inheritance
NetworkResponseHandler
Inherited Members

Properties

ResponseMatcher

Gets or sets a function that evaluates returned response data in an HttpResponseData object, and returns a value indicating whether the data matches the specified criteria.

public Func<HttpResponseData, bool> ResponseMatcher { get; set; }

Property Value

Func<HttpResponseData, bool>

ResponseTransformer

Gets or sets a function that accepts an HttpResponseData object describing a network response received by the browser, and returns a modified HttpResponseData object to used as the actual network response.

public Func<HttpResponseData, HttpResponseData> ResponseTransformer { get; set; }

Property Value

Func<HttpResponseData, HttpResponseData>