Table of Contents

Class GetBrowserContextsCommandResponse

Namespace
OpenQA.Selenium.DevTools.V147.Target
Assembly
Selenium.WebDriver.dll

Response for Returns all browser contexts created with Target.createBrowserContext method.

public sealed class GetBrowserContextsCommandResponse : ICommandResponse<GetBrowserContextsCommandSettings>, ICommandResponse
Inheritance
GetBrowserContextsCommandResponse
Implements
Inherited Members
Extension Methods

Properties

BrowserContextIds

An array of browser context ids.

[JsonPropertyName("browserContextIds")]
public string[] BrowserContextIds { get; set; }

Property Value

string[]

DefaultBrowserContextId

The id of the default browser context if available.

[JsonPropertyName("defaultBrowserContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DefaultBrowserContextId { get; set; }

Property Value

string