Skip to content

BrowserProtocol

Namespace: E2E.Engine

public enum BrowserProtocol

The protocol a leased browser’s endpoint speaks. .NET-only: upstream’s lease always carries a CDP endpoint.

View source

Cdp = 0

The Chrome DevTools Protocol, dialed with Playwright’s connectOverCDP. A browser the engine finds with a default context.

Value: BrowserProtocol

View source

Playwright = 1

Playwright’s own protocol, dialed with Playwright’s connect: a Playwright server or a grid that hosts one. The browser has no context yet, so the engine opens its own, and a dropped connection cannot be reattached.

Value: BrowserProtocol

View source