Table of Contents

Namespace Xping.Sdk.Core.Clients.Browser

Classes

BrowserClient

This class represents a client that can interact with a web application using a browser, such as Chromium, Firefox, or WebKit. It uses the Playwright library to create and control the browser instance. Upon instantiation, the ownership of the Browser and BrowserContext objects is transferred to BrowserResponseMessage class, which then becomes responsible for managing and releasing the browser resources appropriately.

BrowserConfiguration
BrowserResponseMessage

This class represents a web page response that is obtained and interacted with through a browser, such as Chromium, Firefox, or WebKit. It leverages the HttpResponseMessage class to store the HTTP response message, including the status code, headers, and content, and utilizes the Page class for page interactions.

TooManyRedirectsException

Represents errors that occur when an HTTP request is redirected more times than the set limit.

Interfaces

IBrowserFactory

This interface defines a method to create a BrowserClient object that can interact with a web application using a headless browser, such as Chromium, Firefox, or WebKit. It also implements the IDisposable interface to support the disposal of unmanaged resources.

IHttpRequestInterceptor

Defines the contract for intercepting and handling HTTP requests within a browser client.

IHttpResponseHandler

Defines a contract for handling HTTP responses received for a request by the browser.