Table of Contents

Namespace WebDriverBiDi.BrowsingContext

Classes

AccessibilityLocator

Represents a locator for locating nodes via accessibility attributes.

ActivateCommandParameters

Provides parameters for the browsingContext.activate command.

ActivateCommandResult

Result for activating the browsing context using the browsingContext.activate command.

BoxClipRectangle

Represents a box-based clipping rectangle for a screenshot.

BrowsingContextInfo

Provides information about a browsing context.

BrowsingContextModule

The BrowsingContext module contains commands and events relating to browsing contexts.

BrowsingContextModuleExtensions

Provides extension methods for the BrowsingContext module.

CaptureScreenshotCommandParameters

Provides parameters for the browsingContext.captureScreenshot command.

CaptureScreenshotCommandResult

Result for capturing a screenshot using the browsingContext.captureScreenshot command.

ClipRectangle

The abstract base class for a clipping rectangle for a screenshot.

CloseCommandParameters

Provides parameters for the browsingContext.close command.

CloseCommandResult

Result for closing the browsing context using the browsingContext.close command.

ContextCreatedEventArgs

Object containing event data for the browsingContext.contextCreated event.

ContextCreatedEventData

The data received with the browsingContext.contextCreated event, exposed to observers through ContextCreatedEventArgs.

ContextDestroyedEventArgs

Object containing event data for the browsingContext.contextDestroyed event.

ContextLocator

Represents a locator for locating context nodes of given browsing contexts like, for example, the iframe element hosting a BrowsingContext in the iframe.

CreateCommandParameters

Provides parameters for the browsingContext.create command.

CreateCommandResult

Result for creating a new browsing context using the browsingContext.create command.

CssLocator

Represents a locator for locating nodes via CSS selector.

DownloadCanceledEventArgs

Object containing event data for the browsingContext.downloadEnd event when the download was canceled. A canceled download has no file path.

DownloadCompleteEventArgs

Object containing event data for the browsingContext.downloadEnd event when the download completed.

DownloadEndEventArgs

Object containing event data for the browsingContext.downloadEnd event. The event data is a DownloadCompleteEventArgs when the download completed, and a DownloadCanceledEventArgs when it was canceled; only a completed download has a file path.

DownloadWillBeginEventArgs

Object containing event data for the browsingContext.downloadWillBegin event.

ElementClipRectangle

Represents an element-based clipping rectangle for a screenshot.

GetTreeCommandParameters

Provides parameters for the browsingContext.getTree command.

GetTreeCommandResult

Result for getting the tree of browsing contexts using the browsingContext.getTree command.

HandleUserPromptCommandParameters

Provides parameters for the browsingContext.handleUserPrompt command.

HandleUserPromptCommandResult

Result for handling a user prompt in the browsing context using the browsingContext.handleUserPrompt command.

HistoryUpdatedEventArgs

Object containing event data for the browsingContext.historyUpdated event.

ImageFormat

Represents the image format of a captured screenshot.

ImageSize

Represents the image size of a captured screenshot.

InnerTextLocator

Represents a locator for locating nodes via their visible text as defined by the innerText DOM property.

LocateNodesCommandParameters

Provides parameters for the browsingContext.locateNodes command.

LocateNodesCommandResult

Result for locating nodes using the browsingContext.locateNodes command.

Locator

Represents a locator for locating nodes.

MediaTrackConstraints

Describes the media track constraints for a screencast video stream.

NavigateCommandParameters

Provides parameters for the browsingContext.navigate command.

NavigateCommandResult

Contains the result of a navigation.

NavigationEventArgs

Object containing event data for events raised during navigation.

PrintCommandParameters

Provides parameters for the browsingContext.print command.

PrintCommandResult

Result for printing a browsing context using the browsingContext.print command.

PrintMarginParameters

Parameters of margins for printing.

PrintPageParameters

Parameters of page size for printing.

ReloadCommandParameters

Provides parameters for the browsingContext.reload command.

ReloadCommandResult

Result for reloading the browsing context using the browsingContext.reload command.

SetBypassCSPCommandParameters

Provides parameters for the browsingContext.setBypassCSP command.

SetBypassCSPCommandResult

Result of setting bypass CSP using the browsingContext.setBypassCSP command.

SetViewportCommandParameters

Provides parameters for the browsingContext.setViewport command.

SetViewportCommandResult

Result for setting the viewport in the browsing context using the browsingContext.setViewport command.

StartScreencastCommandParameters

Provides parameters for the browsingContext.startScreencast command.

StartScreencastCommandResult

Result from starting a screencast.

StopScreencastCommandParameters

Provides parameters for the browsingContext.stopScreencast command.

StopScreencastCommandResult

Result from stopping a screencast.

TraverseHistoryCommandParameters

Provides parameters for the browsingContext.traverseHistory command.

TraverseHistoryCommandResult

Result for traversing the history in the browsing context using the browsingContext.traverseHistory command.

UserPromptClosedEventArgs

Object containing event data for the event raised when a user prompt is closed.

UserPromptOpenedEventArgs

Object containing event data for the event raised when a user prompt opens.

Viewport

Represents the dimensions of a viewport.

XPathLocator

Represents a locator for locating nodes via XPath.

Structs

PageRange

Represents a page range for printing pages.

Enums

CreateType

Values used for the creation of new browsing contexts.

DownloadEndStatus

Values used for the status of downloaded items.

InnerTextMatchType

Values used for specifying the match type of an inner text locator.

PrintOrientation

Values used for page orientation for printing browsing contexts.

ReadinessState

The stage of document loading at which a navigation command returns.

ScreenshotOrigin

The enumerated values for the area a screenshot captures.

UserPromptType

The types of user prompts.