Your framework still owns navigation, locators, evaluation and events. Mimic adds runtime identity, profiles, resource policy, media and diagnostics alongside those native APIs.
Find a command
This is the current extension contract. A generated type describes a message; its support note describes the implemented behavior. Partial means the stated limits apply. Use Mimic0.2.4 or later; the SDK selects a compatible default. When connecting to a separate executable, check its runtime version.
32 commands
Mimic.cancelExecutionSession command; current runtime behavior only
Session command; current runtime behavior only. Exact lifecycle and diagnostic payload coverage is incomplete.
Link to this commandParameters CancelExecutionParams
Empty object; no fields.
Result CancelExecutionResult
cancelledrequiredboolean
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.captureSnapshotStatic portable DOM/assets snapshot with base64 file bodies and capture timings
Static portable DOM/assets snapshot with base64 file bodies and capture timings. Snapshot errors and supported resource limitations remain visible; no rendering backend is implied.
Link to this commandParameters CaptureSnapshotParams
interruptoptionalboolean
Result CaptureSnapshotResult
urlrequiredstringfilesrequiredMap<string, string>warningsrequiredArray<string>timingsMsrequiredMap<string, integer>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.clearTraceSession command; current runtime behavior only
Session command; current runtime behavior only. Exact lifecycle and diagnostic payload coverage is incomplete.
Link to this commandParameters ClearTraceParams
Empty object; no fields.
Result ClearTraceResult
Empty object; no fields.
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.configureContextConfigure an existing empty automation-framework-owned Context atomically before creating user Pages
Atomically configures an existing empty framework-owned Context before Pages are created, preserving the real client Context object. Rejects live/initializing/closing Pages, retained uploads and capture workers; profile/proxy/resource/media validation failures leave the Context unchanged.
Configure an existing empty automation-framework-owned Context atomically before creating user Pages. Rejects live Pages, active capture and concurrent Page creation.
Link to this commandParameters ConfigureContextParams
profileoptionalProfileSelectionReferences: ProfileSelectionproxyoptionalProxyReferences: ProxyresourcePolicyoptionalResourcePolicyReferences: ResourcePolicymediaoptionalMediaConfigurationReferences: MediaConfigurationbrowserContextIdrequiredstringminLength: 1
Result ConfigureContextResult
profilerequiredstringprofileIdrequiredstringmoderequired"generated" | "manual"warningsrequiredArray<string>browserContextIdrequiredstringmediaoptionalMediaProfileReferences: MediaProfile
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.createContextCreates validated generated/imported environment contexts with optional canonical media configuration installed before creating Pages
Creates validated generated/imported environment contexts with optional canonical media configuration installed before creating Pages. Failed media configuration disposes the new Context. Existing profile token, proxy, resource policy and disposeOnDetach behavior are preserved.
Link to this commandParameters CreateContextParams
profileoptionalProfileSelectionReferences: ProfileSelectionproxyoptionalProxyReferences: ProxyresourcePolicyoptionalResourcePolicyReferences: ResourcePolicydisposeOnDetachoptionalbooleanmediaoptionalMediaConfigurationReferences: MediaConfiguration
Result CreateContextResult
profilerequiredstringprofileIdrequiredstringmoderequired"generated" | "manual"warningsrequiredArray<string>browserContextIdrequiredstringmediaoptionalMediaProfileReferences: MediaProfile
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.exportProfileCurrent portable profile and runtime identity contract
Current portable profile and runtime identity contract. Generation is limited to the installed Chrome 152 Windows behavior bundle; coherence and recipe validation remain authoritative.
Link to this commandParameters ExportProfileParams
profilerequiredstring
Result ExportProfileResult
profilerequiredProfileDescriptorReferences: ProfileDescriptorwarningsrequiredArray<string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.generateProfileCurrent portable profile and runtime identity contract
Current portable profile and runtime identity contract. Generation is limited to the installed Chrome 152 Windows behavior bundle; coherence and recipe validation remain authoritative.
Link to this commandParameters GenerateProfileParams
browseroptional"chrome"versionoptional152platformoptional"windows"seedoptionalstringminLength: 1 · maxLength: 1024
Result GenerateProfileResult
profilerequiredstringprofileIdrequiredstringmoderequired"generated" | "manual"warningsrequiredArray<string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getCompatibilityMatrixReturns the complete pinned Chrome wire inventory and separately pinned SDK-owned Mimic extension shapes with authoritative semantic support declarations
Returns the complete pinned Chrome wire inventory and separately pinned SDK-owned Mimic extension shapes with authoritative semantic support declarations. Generated shapes and partial scopes never imply Chrome parity or complete semantic implementation.
Link to this commandParameters GetCompatibilityMatrixParams
Empty object; no fields.
Result GetCompatibilityMatrixResult
chromeVersionrequiredstringprotocolrequiredArray<ProtocolCoverage>References: ProtocolCoverageextensionsrequiredArray<ProtocolCoverage>References: ProtocolCoverage
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getDiagnosticsSession command; current runtime behavior only
Session command; current runtime behavior only. Exact lifecycle and diagnostic payload coverage is incomplete.
Link to this commandParameters GetDiagnosticsParams
Empty object; no fields.
Result GetDiagnosticsResult
enabledrequiredbooleanhostOnlyoptionalbooleancostsoptionalMap<string, DiagnosticCost>References: DiagnosticCostcpu_profilesoptionalMap<string, JSON value>realmsoptionalArray<RealmDiagnostics>References: RealmDiagnostics
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getMediaPresetsBundled physical-camera class catalog
Bundled physical-camera class catalog. Virtual inputs are capture sources only; named model equivalence is not claimed.
Link to this commandParameters GetMediaPresetsParams
browserContextIdoptionalstringminLength: 1
Result GetMediaPresetsResult
presetsrequiredArray<MediaPreset>References: MediaPreset
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getMediaProfileRead-only resolved catalog snapshots and private backend failure diagnostics; native bindings never become web device identity
Read-only resolved catalog snapshots and private backend failure diagnostics; native bindings never become web device identity.
Link to this commandParameters GetMediaProfileParams
browserContextIdoptionalstringminLength: 1
Result GetMediaProfileResult
profilerequiredMediaProfile | nullReferences: MediaProfilediagnosticsrequiredMap<string, string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getMediaSourcesPrivate Context-scoped camera and microphone source discovery with opaque binding IDs and native backend diagnostics; enumeration does not open capture or grant web permissions
Private Context-scoped camera and microphone source discovery with opaque binding IDs and native backend diagnostics; enumeration does not open capture or grant web permissions.
Link to this commandParameters GetMediaSourcesParams
browserContextIdoptionalstringminLength: 1
Result GetMediaSourcesResult
sourcesrequiredArray<MediaSource>References: MediaSourcediagnosticsrequiredMap<string, string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getProfileCanonical Context/Page environment profile projection and ordinary Page overrides
Canonical Context/Page environment profile projection and ordinary Page overrides. Generated/imported profile invariants and explicit mutability boundaries are enforced; no arbitrary profile override mechanism.
Link to this commandParameters GetProfileParams
browserContextIdoptionalstringminLength: 1targetIdoptionalstringminLength: 1
Result GetProfileResult
profilerequiredEnvironmentProfileReferences: EnvironmentProfilelimitationsrequiredArray<string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getProfileSchemaCanonical Context/Page environment profile projection and ordinary Page overrides
Canonical Context/Page environment profile projection and ordinary Page overrides. Generated/imported profile invariants and explicit mutability boundaries are enforced; no arbitrary profile override mechanism.
Link to this commandParameters GetProfileSchemaParams
Empty object; no fields.
Result GetProfileSchemaResult
schemarequiredMap<string, JSON value>baseProfilesrequiredArray<string>limitationsrequiredArray<string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getResourcePolicyContext-owned resource policy command
Context-owned resource policy command. First-match rules, supported presets and budget statistics share the loader state. Nonzero wire-byte budgets and unmodeled loader work remain unsupported.
Link to this commandParameters GetResourcePolicyParams
browserContextIdrequiredstringminLength: 1
Result GetResourcePolicyResult
policyrequiredResourcePolicyReferences: ResourcePolicyenabledrequiredbooleangenerationrequiredintegerExact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON.
minimum: 0 · maximum: 9007199254740991
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getResourcePolicySchemaContext-owned resource policy command
Context-owned resource policy command. First-match rules, supported presets and budget statistics share the loader state. Nonzero wire-byte budgets and unmodeled loader work remain unsupported.
Link to this commandParameters GetResourcePolicySchemaParams
Empty object; no fields.
Result GetResourcePolicySchemaResult
schemarequiredMap<string, JSON value>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getResourcePolicyStatsContext-owned resource policy command
Context-owned resource policy command. First-match rules, supported presets and budget statistics share the loader state. Nonzero wire-byte budgets and unmodeled loader work remain unsupported.
Link to this commandParameters GetResourcePolicyStatsParams
browserContextIdrequiredstringminLength: 1
Result GetResourcePolicyStatsResult
statsrequiredResourcePolicyStatsReferences: ResourcePolicyStats
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getStatusSession Page trace/status observation; trace collection starts only after explicit activation
Session Page trace/status observation; trace collection starts only after explicit activation. Payloads expose recorded runtime events and current execution state, not a full Chrome tracing engine.
Link to this commandParameters GetStatusParams
Empty object; no fields.
Result GetStatusResult
executionrequiredExecutionStatusReferences: ExecutionStatus
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getTraceSession Page trace/status observation; trace collection starts only after explicit activation
Session Page trace/status observation; trace collection starts only after explicit activation. Payloads expose recorded runtime events and current execution state, not a full Chrome tracing engine.
Link to this commandParameters GetTraceParams
Empty object; no fields.
Result GetTraceResult
eventsrequiredArray<TraceEvent> | nullReferences: TraceEventcrashReportsrequiredMap<string, string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.getVersionCurrent portable profile and runtime identity contract
Current portable profile and runtime identity contract. Generation is limited to the installed Chrome 152 Windows behavior bundle; coherence and recipe validation remain authoritative.
Link to this commandParameters GetVersionParams
Empty object; no fields.
Result GetVersionResult
versionrequiredstringchromeVersionrequiredstringbaseProfilerequiredstring
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.importProfileCurrent portable profile and runtime identity contract
Current portable profile and runtime identity contract. Generation is limited to the installed Chrome 152 Windows behavior bundle; coherence and recipe validation remain authoritative.
Link to this commandParameters ImportProfileParams
profilerequiredProfileDescriptor | ManualProfileReferences: ManualProfile, ProfileDescriptormodeoptional"manual"
Result ImportProfileResult
profilerequiredstringprofileIdrequiredstringmoderequired"generated" | "manual"warningsrequiredArray<string>
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.pauseSession command; current runtime behavior only
Session command; current runtime behavior only. Exact lifecycle and diagnostic payload coverage is incomplete.
Link to this commandParameters PauseParams
Empty object; no fields.
Result PauseResult
Empty object; no fields.
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.resetProfileOverridesCanonical Context/Page environment profile projection and ordinary Page overrides
Canonical Context/Page environment profile projection and ordinary Page overrides. Generated/imported profile invariants and explicit mutability boundaries are enforced; no arbitrary profile override mechanism.
Link to this commandParameters ResetProfileOverridesParams
targetIdrequiredstringminLength: 1
Result ResetProfileOverridesResult
profilerequiredEnvironmentProfileReferences: EnvironmentProfile
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.resumeSession command; current runtime behavior only
Session command; current runtime behavior only. Exact lifecycle and diagnostic payload coverage is incomplete.
Link to this commandParameters ResumeParams
Empty object; no fields.
Result ResumeResult
Empty object; no fields.
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.setMediaProfileAtomic Context-owned catalog replacement; stable seeded auto selection, source/identity isolation and optional microphone grouping
Atomic Context-owned catalog replacement; stable seeded auto selection, source/identity isolation and optional microphone grouping. Live or starting capture rejects replacement. CPU crop/scale, frame-rate reduction and optional coherent output noise; advanced native camera controls are unsupported.
Link to this commandParameters SetMediaProfileParams
seedoptionalstringmaxLength: 1024cameraoptionalMediaCameraRequestReferences: MediaCameraRequestmicrophoneoptionalMediaMicrophoneRequestReferences: MediaMicrophoneRequestdevicesoptionalArray<MediaDeviceProfile>maxItems: 16 References: MediaDeviceProfilebrowserContextIdoptionalstringminLength: 1
Result SetMediaProfileResult
profilerequiredMediaProfileReferences: MediaProfilenativeModesVerifiedrequiredfalse
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.setViewportUpdates ordinary Page viewport through canonical environment validation
Updates ordinary Page viewport through canonical environment validation. Generated/imported profile Contexts reject identity-changing overrides.
Link to this commandParameters SetViewportParams
widthrequiredintegerminimum: 1heightrequiredintegerminimum: 1
Result SetViewportResult
Empty object; no fields.
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.startTraceSession Page trace/status observation; trace collection starts only after explicit activation
Session Page trace/status observation; trace collection starts only after explicit activation. Payloads expose recorded runtime events and current execution state, not a full Chrome tracing engine.
Link to this commandParameters StartTraceParams
Empty object; no fields.
Result StartTraceResult
Empty object; no fields.
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.stopTraceSession Page trace/status observation; trace collection starts only after explicit activation
Session Page trace/status observation; trace collection starts only after explicit activation. Payloads expose recorded runtime events and current execution state, not a full Chrome tracing engine.
Link to this commandParameters StopTraceParams
Empty object; no fields.
Result StopTraceResult
Empty object; no fields.
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.updateProfileCanonical Context/Page environment profile projection and ordinary Page overrides
Canonical Context/Page environment profile projection and ordinary Page overrides. Generated/imported profile invariants and explicit mutability boundaries are enforced; no arbitrary profile override mechanism.
Link to this commandParameters UpdateProfileParams
targetIdrequiredstringminLength: 1patchrequiredProfilePatchReferences: ProfilePatch
Result UpdateProfileResult
profilerequiredEnvironmentProfileReferences: EnvironmentProfile
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.updateResourcePolicyContext-owned resource policy command
Context-owned resource policy command. First-match rules, supported presets and budget statistics share the loader state. Nonzero wire-byte budgets and unmodeled loader work remain unsupported.
Link to this commandParameters UpdateResourcePolicyParams
browserContextIdrequiredstringminLength: 1policyrequiredResourcePolicyReferences: ResourcePolicy
Result UpdateResourcePolicyResult
generationrequiredintegerExact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON.
minimum: 0 · maximum: 9007199254740991
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.validateMediaProfileCompiles deterministic complete physical-class or custom device catalogs and rejects incoherent modes/defaults, unknown controls and conflicting overrides
Compiles deterministic complete physical-class or custom device catalogs and rejects incoherent modes/defaults, unknown controls and conflicting overrides. Native format availability is checked at capture startup, not metadata validation.
Link to this commandParameters ValidateMediaProfileParams
seedoptionalstringmaxLength: 1024cameraoptionalMediaCameraRequestReferences: MediaCameraRequestmicrophoneoptionalMediaMicrophoneRequestReferences: MediaMicrophoneRequestdevicesoptionalArray<MediaDeviceProfile>maxItems: 16 References: MediaDeviceProfilebrowserContextIdoptionalstringminLength: 1
Result ValidateMediaProfileResult
profilerequiredMediaProfileReferences: MediaProfilenativeModesVerifiedrequiredfalse
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
Mimic.validateResourcePolicyContext-owned resource policy command
Context-owned resource policy command. First-match rules, supported presets and budget statistics share the loader state. Nonzero wire-byte budgets and unmodeled loader work remain unsupported.
Link to this commandParameters ValidateResourcePolicyParams
policyrequiredResourcePolicyReferences: ResourcePolicy
Result ValidateResourcePolicyResult
policyrequiredResourcePolicyReferences: ResourcePolicy
Required marks unconditional fields. Follow the type link for exact unions, mutually exclusive fields and other schema constraints.
No matching commands. Try a shorter field name or clear the scope filter.
Use an extension with a native Page
After installing the Playwright integration, save this as extensions.mjs and run node extensions.mjs. It uses a local document and closes the owned runtime when finished.
import { launch } from "mimic-browser/playwright";
import { ProtocolError, OMITTED } from "mimic-browser";
const session = await launch();
try {
// Browser-level command: no Page attachment is needed.
const version = await session.mimic.getVersion();
console.log("Mimic", version.version, "Chrome", version.chromeVersion);
const context = await session.newContext();
const page = await context.newPage(); // A real Playwright Page.
const pageMimic = await session.forPage(page);
await pageMimic.startTrace();
try {
await page.setContent("<title>Extension example</title><h1>Hello</h1>");
console.log(await page.title());
const status = await pageMimic.getStatus();
const trace = await pageMimic.getTrace();
console.log(status, "Recorded events:", trace.events?.length ?? 0);
} finally {
await pageMimic.stopTrace();
}
} catch (error) {
if (error instanceof ProtocolError) {
console.error(error.code, error.message);
if (error.data !== OMITTED) console.error(error.data);
}
throw error;
} finally {
await session.close();
if (session.closeErrors.length) console.error(session.closeErrors);
}Trace collection starts explicitly and records Mimic runtime events. It is not a replacement for Chrome's full tracing system.
Choose the scope explicitly
Browser
Call session.mimic for version, profile generation and browser-level catalogs. No Page is selected implicitly.
Context
Supply browserContextId when the command accepts it, or use a documented Context helper. An optional ID can select the default Context when omitted; a Page attachment does not fill it in.
Page session
Bind a client to the real Page before calling trace, status, snapshot or execution commands. SDK session IDs and framework session IDs are connection-local.
Do not copy a session ID from a different connection. If an adapter has no Page helper, use Target.attachToTarget with flatten: true on the SDK transport, then bind its returned session ID on that transport. A Context helper only supplies a Context ID; it does not attach to a Page.
Context configuration explains profile and resource-policy ownership. Media configuration explains Context-bound private sources and public device identity.
Language bindings
Each SDK uses its language's naming conventions and generated parameter/result models. These entry points assume an existing integration session.
JavaScript / TypeScript
Version: await session.mimic.getVersion()
Scope helper: await session.forPage(page)
Playwright and Puppeteer. The returned client binds session commands to that real Page.
Python
Version: session.mimic.get_version()
Scope helper: session.for_page(page)
Sync Playwright uses direct calls; await both operations with the async API. Generated fields use snake_case.
C# / .NET
Version: await session.Mimic.Commands.GetVersionAsync()
Scope helper: ForContextAsync(context) / ForContext(context)
Playwright / PuppeteerSharp Context helpers. Page sessions use ProtocolConnection.Session(id) after Target.attachToTarget on that same connection.
Java / Kotlin
Version: session.mimic().commands().getVersion(new Generated.GetVersionParams())
Scope helper: session.forContext(context)
Playwright, with the same Java artifact usable from Kotlin. Page sessions use ProtocolConnection.session(id) after an explicit attachment on that connection.
Go
Version: session.Mimic.GetVersion(ctx, mimic.GetVersionParams{})
Scope helper: session.ForPage(page) / session.ForPage(ctx)
Rod accepts its real Page; chromedp accepts the target context and returns a client plus an error. Commands take context.Context.
Rust
Version: session.mimic.get_version(GetVersionParams::default()).await?
Scope helper: session.for_page(&page).await?
chromiumoxide. Generated parameters and result fields use snake_case; native Page objects stay unchanged.
Ruby
Version: session.mimic.get_version
Scope helper: session.for_page(page)
Ferrum. Generated models and methods use snake_case.
PHP
Version: $session->mimic->commands->getVersion()
Scope helper: $session->forPage($page)
chrome-php. forPage returns a Context capability handle, not a page-session client. Use $connection->session($id) for an explicitly attached page session.
These helpers accompany actual framework Browser, Context and Page objects. Use the native framework's API for its normal operations; generated Mimic methods do not recreate Playwright or Puppeteer. CDP events remain owned by the framework. The current Mimic extension domain declares no separate events.
Types & validation
The names below are wire model names. Optional means the field may be omitted; it does not mean null is valid. Use your binding's unset/optional representation to preserve omission. The runtime also validates cross-field coherence, resource ownership and current state beyond these JSON shapes.
123 types
CameraFormat3 fields
{
"type": "object",
"properties": {
"width": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"height": {
"type": "integer",
"minimum": 1,
"maximum": 8192
},
"frameRate": {
"type": "number",
"minimum": 1,
"maximum": 120
}
},
"required": [
"width",
"height",
"frameRate"
],
"additionalProperties": false
}Link to this typeCancelExecutionParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeCancelExecutionResult1 fields
{
"type": "object",
"properties": {
"cancelled": {
"type": "boolean"
}
},
"required": [
"cancelled"
],
"additionalProperties": false
}Link to this typeCaptureSnapshotParams1 fields
{
"type": "object",
"properties": {
"interrupt": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}Link to this typeCaptureSnapshotResult4 fields
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"files": {
"type": "object",
"additionalProperties": {
"type": "string",
"contentEncoding": "base64"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"timingsMs": {
"type": "object",
"additionalProperties": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
}
},
"required": [
"url",
"files",
"warnings",
"timingsMs"
],
"additionalProperties": false
}Link to this typeClearTraceParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeClearTraceResultobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeConfigureContextParams5 fields
References: MediaConfiguration, ProfileSelection, Proxy, ResourcePolicy
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/ProfileSelection"
},
"proxy": {
"$ref": "#/$defs/Proxy"
},
"resourcePolicy": {
"$ref": "#/$defs/ResourcePolicy"
},
"media": {
"$ref": "#/$defs/MediaConfiguration"
},
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [
"browserContextId"
],
"additionalProperties": false
}Link to this typeConfigureContextResult6 fields
References: MediaProfile
{
"type": "object",
"properties": {
"profile": {
"type": "string"
},
"profileId": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"generated",
"manual"
]
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"browserContextId": {
"type": "string"
},
"media": {
"$ref": "#/$defs/MediaProfile"
}
},
"required": [
"profile",
"profileId",
"mode",
"warnings",
"browserContextId"
],
"additionalProperties": false
}Link to this typeCreateContextParams5 fields
References: MediaConfiguration, ProfileSelection, Proxy, ResourcePolicy
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/ProfileSelection"
},
"proxy": {
"$ref": "#/$defs/Proxy"
},
"resourcePolicy": {
"$ref": "#/$defs/ResourcePolicy"
},
"disposeOnDetach": {
"type": "boolean"
},
"media": {
"$ref": "#/$defs/MediaConfiguration"
}
},
"required": [],
"additionalProperties": false
}Link to this typeCreateContextResult6 fields
References: MediaProfile
{
"type": "object",
"properties": {
"profile": {
"type": "string"
},
"profileId": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"generated",
"manual"
]
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"browserContextId": {
"type": "string"
},
"media": {
"$ref": "#/$defs/MediaProfile"
}
},
"required": [
"profile",
"profileId",
"mode",
"warnings",
"browserContextId"
],
"additionalProperties": false
}Link to this typeDiagnosticCost2 fields
{
"type": "object",
"properties": {
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"ns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
},
"required": [
"count",
"ns"
],
"additionalProperties": false
}Link to this typeDiagnostics5 fields
References: DiagnosticCost, RealmDiagnostics
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"hostOnly": {
"type": "boolean"
},
"costs": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/DiagnosticCost"
}
},
"cpu_profiles": {
"type": "object",
"additionalProperties": {}
},
"realms": {
"type": "array",
"items": {
"$ref": "#/$defs/RealmDiagnostics"
}
}
},
"required": [
"enabled"
],
"additionalProperties": false
}Link to this typeEmptyobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentAudio4 fields
{
"type": "object",
"properties": {
"sampleRate": {
"type": "number"
},
"channels": {
"type": "integer"
},
"bufferDuration": {
"type": "number"
},
"maxBufferFrames": {
"type": "integer"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentCapabilities4 fields
References: EnvironmentDeviceCapabilities, EnvironmentMediaCapabilities
{
"type": "object",
"properties": {
"storageQuotaBytes": {
"type": "integer"
},
"devices": {
"$ref": "#/$defs/EnvironmentDeviceCapabilities"
},
"media": {
"$ref": "#/$defs/EnvironmentMediaCapabilities"
},
"keyboardLayout": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentDeviceCapabilities2 fields
{
"type": "object",
"properties": {
"bluetoothAvailable": {
"type": "boolean"
},
"posture": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentDisplay7 fields
References: EnvironmentScreenOrientation
{
"type": "object",
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"availableWidth": {
"type": "integer"
},
"availableHeight": {
"type": "integer"
},
"deviceScaleFactor": {
"type": "number"
},
"colorDepth": {
"type": "integer"
},
"orientation": {
"$ref": "#/$defs/EnvironmentScreenOrientation"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentFonts6 fields
{
"type": "object",
"properties": {
"serif": {
"type": "string"
},
"sansSerif": {
"type": "string"
},
"monospace": {
"type": "string"
},
"systemUI": {
"type": "string"
},
"system": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"fallback": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentGPUAdapter11 fields
{
"type": "object",
"properties": {
"vendor": {
"type": "string"
},
"architecture": {
"type": "string"
},
"device": {
"type": "string"
},
"description": {
"type": "string"
},
"subgroupMinSize": {
"type": "integer"
},
"subgroupMaxSize": {
"type": "integer"
},
"isFallbackAdapter": {
"type": "boolean"
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"limits": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"wgslLanguageFeatures": {
"type": "array",
"items": {
"type": "string"
}
},
"initializationDelayMillis": {
"type": "number"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentGraphics6 fields
References: EnvironmentGPUAdapter
{
"type": "object",
"properties": {
"vendor": {
"type": "string"
},
"renderer": {
"type": "string"
},
"maxTextureSize": {
"type": "integer"
},
"webGLCapabilitiesJSON": {
"type": "string"
},
"webGPU": {
"$ref": "#/$defs/EnvironmentGPUAdapter"
},
"webGPUAdapters": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/EnvironmentGPUAdapter"
}
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentHardware4 fields
{
"type": "object",
"properties": {
"cpuPerformance": {
"type": "integer"
},
"cpuPerformanceKnown": {
"type": "boolean"
},
"logicalProcessors": {
"type": "integer"
},
"deviceMemoryGB": {
"type": "number"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentICEProfile9 fields
{
"type": "object",
"properties": {
"hostCandidateCount": {
"type": "integer"
},
"reflexiveCandidateCount": {
"type": "integer"
},
"portOffsets": {
"type": "array",
"items": {
"type": "integer"
}
},
"reflexivePortOffsets": {
"type": "array",
"items": {
"type": "integer"
}
},
"publicAddress": {
"type": "string"
},
"networkCost": {
"type": "integer"
},
"hostDelayMillis": {
"type": "number"
},
"reflexiveDelayMillis": {
"type": "number"
},
"endDelayMillis": {
"type": "number"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentIdentity3 fields
References: EnvironmentUserAgentMetadata
{
"type": "object",
"properties": {
"userAgent": {
"type": "string"
},
"platform": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/EnvironmentUserAgentMetadata"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentLocale4 fields
{
"type": "object",
"properties": {
"reduceAcceptLanguage": {
"type": "boolean"
},
"languages": {
"type": "array",
"items": {
"type": "string"
}
},
"intlLocale": {
"type": "string"
},
"timezone": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentMediaCapabilities4 fields
References: EnvironmentMediaFormatCatalog, EnvironmentRTPMediaCatalog
{
"type": "object",
"properties": {
"rtp": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/EnvironmentRTPMediaCatalog"
}
},
"formats": {
"$ref": "#/$defs/EnvironmentMediaFormatCatalog"
},
"kinds": {
"type": "array",
"items": {
"type": "string"
}
},
"supportedConstraints": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentMediaContainerPolicy3 fields
{
"type": "object",
"properties": {
"codecs": {
"type": "array",
"items": {
"type": "string"
}
},
"defaultCodec": {
"type": "string"
},
"mediaSource": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentMediaFormatCatalog2 fields
References: EnvironmentMediaContainerPolicy
{
"type": "object",
"properties": {
"containers": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/EnvironmentMediaContainerPolicy"
}
},
"efficientVideo": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentNetwork9 fields
References: EnvironmentICEProfile, EnvironmentProxy
{
"type": "object",
"properties": {
"saveData": {
"type": "boolean"
},
"online": {
"type": "boolean"
},
"effectiveType": {
"type": "string"
},
"downlinkMbps": {
"type": "number"
},
"rttMillis": {
"type": "number"
},
"cookiesEnabled": {
"type": "boolean"
},
"wireProfile": {
"type": "string"
},
"ice": {
"$ref": "#/$defs/EnvironmentICEProfile"
},
"proxy": {
"$ref": "#/$defs/EnvironmentProxy"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentPreferences4 fields
{
"type": "object",
"properties": {
"colorScheme": {
"type": "string"
},
"systemColors": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"reducedMotion": {
"type": "boolean"
},
"doNotTrack": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentProfile16 fields
References: EnvironmentAudio, EnvironmentCapabilities, EnvironmentDisplay, EnvironmentFonts, EnvironmentGraphics, EnvironmentHardware, EnvironmentIdentity, EnvironmentLocale, EnvironmentNetwork, EnvironmentPreferences, EnvironmentTiming, EnvironmentWindow
{
"type": "object",
"properties": {
"schemaVersion": {
"type": "integer"
},
"baseProfile": {
"type": "string"
},
"identity": {
"$ref": "#/$defs/EnvironmentIdentity"
},
"display": {
"$ref": "#/$defs/EnvironmentDisplay"
},
"window": {
"$ref": "#/$defs/EnvironmentWindow"
},
"hardware": {
"$ref": "#/$defs/EnvironmentHardware"
},
"locale": {
"$ref": "#/$defs/EnvironmentLocale"
},
"graphics": {
"$ref": "#/$defs/EnvironmentGraphics"
},
"audio": {
"$ref": "#/$defs/EnvironmentAudio"
},
"fonts": {
"$ref": "#/$defs/EnvironmentFonts"
},
"preferences": {
"$ref": "#/$defs/EnvironmentPreferences"
},
"network": {
"$ref": "#/$defs/EnvironmentNetwork"
},
"permissions": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"capabilities": {
"$ref": "#/$defs/EnvironmentCapabilities"
},
"features": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"timing": {
"$ref": "#/$defs/EnvironmentTiming"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentProxy3 fields
{
"type": "object",
"properties": {
"server": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentRTPCodec9 fields
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"clockRate": {
"type": "integer"
},
"channels": {
"type": "integer"
},
"parameters": {
"type": "string"
},
"senderParameters": {
"type": "string"
},
"feedback": {
"type": "array",
"items": {
"type": "string"
}
},
"payload": {
"type": "integer"
},
"rtxPayload": {
"type": "integer"
},
"redundant": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentRTPMediaCatalog6 fields
References: EnvironmentRTPCodec
{
"type": "object",
"properties": {
"codecs": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/EnvironmentRTPCodec"
}
},
"senderOrder": {
"type": "array",
"items": {
"type": "string"
}
},
"receiverOrder": {
"type": "array",
"items": {
"type": "string"
}
},
"offerOrder": {
"type": "array",
"items": {
"type": "string"
}
},
"headerExtensions": {
"type": "array",
"items": {
"type": "string"
}
},
"receiverRTT": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentScreenOrientation2 fields
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"angle": {
"type": "integer"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentTiming3 fields
{
"type": "object",
"properties": {
"executionScale": {
"type": "number"
},
"navigationScale": {
"type": "number"
},
"networkScale": {
"type": "number"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentUserAgentBrand3 fields
{
"type": "object",
"properties": {
"brand": {
"type": "string"
},
"version": {
"type": "string"
},
"fullVersion": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentUserAgentMetadata11 fields
References: EnvironmentUserAgentBrand
{
"type": "object",
"properties": {
"brands": {
"type": "array",
"items": {
"$ref": "#/$defs/EnvironmentUserAgentBrand"
}
},
"fullVersionList": {
"type": "array",
"items": {
"$ref": "#/$defs/EnvironmentUserAgentBrand"
}
},
"formFactors": {
"type": "array",
"items": {
"type": "string"
}
},
"fullVersion": {
"type": "string"
},
"platform": {
"type": "string"
},
"platformVersion": {
"type": "string"
},
"architecture": {
"type": "string"
},
"model": {
"type": "string"
},
"bitness": {
"type": "string"
},
"mobile": {
"type": "boolean"
},
"wow64": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}Link to this typeEnvironmentWindow6 fields
{
"type": "object",
"properties": {
"x": {
"type": "integer"
},
"y": {
"type": "integer"
},
"outerWidth": {
"type": "integer"
},
"outerHeight": {
"type": "integer"
},
"viewportWidth": {
"type": "integer"
},
"viewportHeight": {
"type": "integer"
}
},
"required": [],
"additionalProperties": false
}Link to this typeExecutionStatus5 fields
{
"type": "object",
"properties": {
"running": {
"type": "boolean"
},
"taskId": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"source": {
"type": "string"
},
"phase": {
"type": "string"
},
"elapsedMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
},
"required": [
"running",
"taskId",
"source",
"phase",
"elapsedMs"
],
"additionalProperties": false
}Link to this typeExportProfileParams1 fields
{
"type": "object",
"properties": {
"profile": {
"type": "string"
}
},
"required": [
"profile"
],
"additionalProperties": false
}Link to this typeExportProfileResult2 fields
References: ProfileDescriptor
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/ProfileDescriptor"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"profile",
"warnings"
],
"additionalProperties": false
}Link to this typeGenerateProfileOptions4 fields
{
"type": "object",
"properties": {
"browser": {
"type": "string",
"enum": [
"chrome"
]
},
"version": {
"type": "integer",
"const": 152
},
"platform": {
"type": "string",
"enum": [
"windows"
]
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
},
"required": [],
"additionalProperties": false
}Link to this typeGenerateProfileParams4 fields
{
"type": "object",
"properties": {
"browser": {
"type": "string",
"enum": [
"chrome"
]
},
"version": {
"type": "integer",
"const": 152
},
"platform": {
"type": "string",
"enum": [
"windows"
]
},
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 1024
}
},
"required": [],
"additionalProperties": false
}Link to this typeGenerateProfileResult4 fields
{
"type": "object",
"properties": {
"profile": {
"type": "string"
},
"profileId": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"generated",
"manual"
]
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"profile",
"profileId",
"mode",
"warnings"
],
"additionalProperties": false
}Link to this typeGenerateProfileSelection1 fields
References: GenerateProfileOptions
{
"type": "object",
"properties": {
"generate": {
"$ref": "#/$defs/GenerateProfileOptions"
}
},
"required": [
"generate"
],
"additionalProperties": false
}Link to this typeGetCompatibilityMatrixParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetCompatibilityMatrixResult3 fields
References: ProtocolCoverage
{
"type": "object",
"properties": {
"chromeVersion": {
"type": "string"
},
"protocol": {
"type": "array",
"items": {
"$ref": "#/$defs/ProtocolCoverage"
}
},
"extensions": {
"type": "array",
"items": {
"$ref": "#/$defs/ProtocolCoverage"
}
}
},
"required": [
"chromeVersion",
"protocol",
"extensions"
],
"additionalProperties": false
}Link to this typeGetDiagnosticsParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetDiagnosticsResult5 fields
References: DiagnosticCost, RealmDiagnostics
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"hostOnly": {
"type": "boolean"
},
"costs": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/DiagnosticCost"
}
},
"cpu_profiles": {
"type": "object",
"additionalProperties": {}
},
"realms": {
"type": "array",
"items": {
"$ref": "#/$defs/RealmDiagnostics"
}
}
},
"required": [
"enabled"
],
"additionalProperties": false
}Link to this typeGetMediaPresetsParams1 fields
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [],
"additionalProperties": false
}Link to this typeGetMediaPresetsResult1 fields
References: MediaPreset
{
"type": "object",
"properties": {
"presets": {
"type": "array",
"items": {
"$ref": "#/$defs/MediaPreset"
}
}
},
"required": [
"presets"
],
"additionalProperties": false
}Link to this typeGetMediaProfileParams1 fields
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [],
"additionalProperties": false
}Link to this typeGetMediaProfileResult2 fields
References: MediaProfile
{
"type": "object",
"properties": {
"profile": {
"oneOf": [
{
"$ref": "#/$defs/MediaProfile"
},
{
"type": "null"
}
]
},
"diagnostics": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"profile",
"diagnostics"
],
"additionalProperties": false
}Link to this typeGetMediaSourcesParams1 fields
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [],
"additionalProperties": false
}Link to this typeGetMediaSourcesResult2 fields
References: MediaSource
{
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"$ref": "#/$defs/MediaSource"
}
},
"diagnostics": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"sources",
"diagnostics"
],
"additionalProperties": false
}Link to this typeGetProfileParams2 fields
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
},
"targetId": {
"type": "string",
"minLength": 1
}
},
"required": [],
"additionalProperties": false,
"oneOf": [
{
"required": [
"browserContextId"
],
"not": {
"required": [
"targetId"
]
}
},
{
"required": [
"targetId"
],
"not": {
"required": [
"browserContextId"
]
}
}
]
}Link to this typeGetProfileResult2 fields
References: EnvironmentProfile
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/EnvironmentProfile"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"profile",
"limitations"
],
"additionalProperties": false
}Link to this typeGetProfileSchemaParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetProfileSchemaResult3 fields
{
"type": "object",
"properties": {
"schema": {
"type": "object",
"additionalProperties": {}
},
"baseProfiles": {
"type": "array",
"items": {
"type": "string"
}
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"schema",
"baseProfiles",
"limitations"
],
"additionalProperties": false
}Link to this typeGetResourcePolicyParams1 fields
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [
"browserContextId"
],
"additionalProperties": false
}Link to this typeGetResourcePolicyResult3 fields
References: ResourcePolicy
{
"type": "object",
"properties": {
"policy": {
"$ref": "#/$defs/ResourcePolicy"
},
"enabled": {
"type": "boolean"
},
"generation": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
},
"required": [
"policy",
"enabled",
"generation"
],
"additionalProperties": false
}Link to this typeGetResourcePolicySchemaParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetResourcePolicySchemaResult1 fields
{
"type": "object",
"properties": {
"schema": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"schema"
],
"additionalProperties": false
}Link to this typeGetResourcePolicyStatsParams1 fields
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [
"browserContextId"
],
"additionalProperties": false
}Link to this typeGetResourcePolicyStatsResult1 fields
References: ResourcePolicyStats
{
"type": "object",
"properties": {
"stats": {
"$ref": "#/$defs/ResourcePolicyStats"
}
},
"required": [
"stats"
],
"additionalProperties": false
}Link to this typeGetStatusParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetStatusResult1 fields
References: ExecutionStatus
{
"type": "object",
"properties": {
"execution": {
"$ref": "#/$defs/ExecutionStatus"
}
},
"required": [
"execution"
],
"additionalProperties": false
}Link to this typeGetTraceParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetTraceResult2 fields
References: TraceEvent
{
"type": "object",
"properties": {
"events": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/TraceEvent"
}
},
{
"type": "null"
}
]
},
"crashReports": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"events",
"crashReports"
],
"additionalProperties": false
}Link to this typeGetVersionParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeGetVersionResult3 fields
{
"type": "object",
"properties": {
"version": {
"type": "string"
},
"chromeVersion": {
"type": "string"
},
"baseProfile": {
"type": "string"
}
},
"required": [
"version",
"chromeVersion",
"baseProfile"
],
"additionalProperties": false
}Link to this typeImportProfileParams2 fields
References: ManualProfile, ProfileDescriptor
{
"type": "object",
"properties": {
"profile": {
"oneOf": [
{
"$ref": "#/$defs/ProfileDescriptor"
},
{
"$ref": "#/$defs/ManualProfile"
}
]
},
"mode": {
"type": "string",
"enum": [
"manual"
]
}
},
"required": [
"profile"
],
"additionalProperties": false
}Link to this typeImportProfileResult4 fields
{
"type": "object",
"properties": {
"profile": {
"type": "string"
},
"profileId": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"generated",
"manual"
]
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"profile",
"profileId",
"mode",
"warnings"
],
"additionalProperties": false
}Link to this typeManualNetwork8 fields
References: EnvironmentICEProfile
{
"type": "object",
"properties": {
"saveData": {
"type": "boolean"
},
"online": {
"type": "boolean"
},
"effectiveType": {
"type": "string"
},
"downlinkMbps": {
"type": "number"
},
"rttMillis": {
"type": "number"
},
"cookiesEnabled": {
"type": "boolean"
},
"wireProfile": {
"type": "string"
},
"ice": {
"$ref": "#/$defs/EnvironmentICEProfile"
}
},
"required": [],
"additionalProperties": false
}Link to this typeManualProfile14 fields
References: EnvironmentAudio, EnvironmentCapabilities, EnvironmentDisplay, EnvironmentFonts, EnvironmentGraphics, EnvironmentHardware, EnvironmentIdentity, EnvironmentLocale, EnvironmentPreferences, EnvironmentTiming, EnvironmentWindow, ManualNetwork
{
"type": "object",
"properties": {
"identity": {
"$ref": "#/$defs/EnvironmentIdentity"
},
"display": {
"$ref": "#/$defs/EnvironmentDisplay"
},
"window": {
"$ref": "#/$defs/EnvironmentWindow"
},
"hardware": {
"$ref": "#/$defs/EnvironmentHardware"
},
"locale": {
"$ref": "#/$defs/EnvironmentLocale"
},
"graphics": {
"$ref": "#/$defs/EnvironmentGraphics"
},
"audio": {
"$ref": "#/$defs/EnvironmentAudio"
},
"fonts": {
"$ref": "#/$defs/EnvironmentFonts"
},
"preferences": {
"$ref": "#/$defs/EnvironmentPreferences"
},
"network": {
"$ref": "#/$defs/ManualNetwork"
},
"permissions": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"capabilities": {
"$ref": "#/$defs/EnvironmentCapabilities"
},
"features": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"timing": {
"$ref": "#/$defs/EnvironmentTiming"
}
},
"required": [],
"additionalProperties": false
}Link to this typeMediaCameraRequest3 fields
References: MediaDeviceOverride, MediaSourceSelector
{
"type": "object",
"properties": {
"source": {
"$ref": "#/$defs/MediaSourceSelector"
},
"profile": {
"type": "string",
"enum": [
"auto",
"integrated-webcam",
"usb-webcam",
"integrated-webcam-hd",
"integrated-webcam-fhd",
"usb-webcam-hd",
"usb-webcam-fhd"
]
},
"overrides": {
"$ref": "#/$defs/MediaDeviceOverride"
}
},
"required": [],
"additionalProperties": false
}Link to this typeMediaConfiguration4 fields
Choose devices (including an explicit empty list) or camera/microphone shorthand. Source matching, device uniqueness and mode coherence are validated by the runtime.
References: MediaCameraRequest, MediaDeviceProfile, MediaMicrophoneRequest
{
"type": "object",
"properties": {
"seed": {
"type": "string",
"maxLength": 1024
},
"camera": {
"$ref": "#/$defs/MediaCameraRequest"
},
"microphone": {
"$ref": "#/$defs/MediaMicrophoneRequest"
},
"devices": {
"type": "array",
"maxItems": 16,
"items": {
"$ref": "#/$defs/MediaDeviceProfile"
}
}
},
"required": [],
"additionalProperties": false,
"description": "Choose devices (including an explicit empty list) or camera/microphone shorthand. Source matching, device uniqueness and mode coherence are validated by the runtime.",
"oneOf": [
{
"required": [
"devices"
],
"not": {
"anyOf": [
{
"required": [
"camera"
]
},
{
"required": [
"microphone"
]
}
]
}
},
{
"anyOf": [
{
"required": [
"camera"
]
},
{
"required": [
"microphone"
]
}
],
"not": {
"required": [
"devices"
]
}
}
]
}Link to this typeMediaDeviceOverride4 fields
References: CameraFormat, MediaProcessing
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"modes": {
"type": "array",
"items": {
"$ref": "#/$defs/CameraFormat"
}
},
"defaultMode": {
"$ref": "#/$defs/CameraFormat"
},
"processing": {
"$ref": "#/$defs/MediaProcessing"
}
},
"required": [],
"additionalProperties": false
}Link to this typeMediaDeviceProfile9 fields
References: CameraFormat, MediaProcessing, MediaSourceSelector
{
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"kind": {
"type": "string",
"enum": [
"videoinput",
"audioinput"
]
},
"source": {
"$ref": "#/$defs/MediaSourceSelector"
},
"profile": {
"type": "string"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 1024
},
"group": {
"type": "string",
"maxLength": 256
},
"modes": {
"type": "array",
"minItems": 1,
"maxItems": 64,
"items": {
"$ref": "#/$defs/CameraFormat"
}
},
"defaultMode": {
"$ref": "#/$defs/CameraFormat"
},
"processing": {
"$ref": "#/$defs/MediaProcessing"
}
},
"required": [
"key",
"kind",
"source",
"label"
],
"additionalProperties": false
}Link to this typeMediaMicrophoneRequest2 fields
References: MediaSourceSelector
{
"type": "object",
"properties": {
"source": {
"$ref": "#/$defs/MediaSourceSelector"
},
"profile": {
"type": "string",
"enum": [
"webcam"
]
}
},
"required": [],
"additionalProperties": false
}Link to this typeMediaPreset4 fields
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"class": {
"type": "string"
},
"variants": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"label",
"class",
"variants"
],
"additionalProperties": false
}Link to this typeMediaProcessing2 fields
{
"type": "object",
"properties": {
"resize": {
"type": "string",
"enum": [
"none",
"crop-and-scale"
]
},
"noise": {
"type": "number",
"minimum": 0,
"maximum": 8
}
},
"required": [],
"additionalProperties": false
}Link to this typeMediaProfile2 fields
References: MediaDeviceProfile
{
"type": "object",
"properties": {
"seed": {
"type": "string"
},
"devices": {
"type": "array",
"items": {
"$ref": "#/$defs/MediaDeviceProfile"
}
}
},
"required": [
"seed",
"devices"
],
"additionalProperties": false
}Link to this typeMediaSource4 fields
{
"type": "object",
"properties": {
"sourceId": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"videoinput",
"audioinput"
]
},
"label": {
"type": "string"
},
"default": {
"type": "boolean"
}
},
"required": [
"sourceId",
"kind",
"label",
"default"
],
"additionalProperties": false
}Link to this typeMediaSourceSelector"default" | "obs" | object | object
{
"oneOf": [
{
"type": "string",
"enum": [
"default",
"obs"
]
},
{
"type": "object",
"properties": {
"sourceId": {
"type": "string",
"minLength": 1
}
},
"required": [
"sourceId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1
}
},
"required": [
"label"
],
"additionalProperties": false
}
]
}Link to this typePauseParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typePauseResultobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeProfileDescriptor5 fields
References: ManualProfile
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"generated",
"manual"
]
},
"baseProfile": {
"type": "string"
},
"seed": {
"type": "string"
},
"profileId": {
"type": "string"
},
"environment": {
"$ref": "#/$defs/ManualProfile"
}
},
"required": [
"mode",
"baseProfile",
"profileId"
],
"additionalProperties": false
}Link to this typeProfileErrorData3 fields
{
"type": "object",
"properties": {
"path": {
"type": "string"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"path",
"reason",
"message"
],
"additionalProperties": false
}Link to this typeProfilePatch14 fields
References: EnvironmentAudio, EnvironmentCapabilities, EnvironmentDisplay, EnvironmentFonts, EnvironmentGraphics, EnvironmentHardware, EnvironmentIdentity, EnvironmentLocale, EnvironmentPreferences, EnvironmentTiming, EnvironmentWindow, ManualNetwork
{
"type": "object",
"properties": {
"identity": {
"$ref": "#/$defs/EnvironmentIdentity"
},
"display": {
"$ref": "#/$defs/EnvironmentDisplay"
},
"window": {
"$ref": "#/$defs/EnvironmentWindow"
},
"hardware": {
"$ref": "#/$defs/EnvironmentHardware"
},
"locale": {
"$ref": "#/$defs/EnvironmentLocale"
},
"graphics": {
"$ref": "#/$defs/EnvironmentGraphics"
},
"audio": {
"$ref": "#/$defs/EnvironmentAudio"
},
"fonts": {
"$ref": "#/$defs/EnvironmentFonts"
},
"preferences": {
"$ref": "#/$defs/EnvironmentPreferences"
},
"network": {
"$ref": "#/$defs/ManualNetwork"
},
"permissions": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"capabilities": {
"$ref": "#/$defs/EnvironmentCapabilities"
},
"features": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"timing": {
"$ref": "#/$defs/EnvironmentTiming"
}
},
"required": [],
"additionalProperties": false
}Link to this typeProfileSelectionstring | GenerateProfileSelection
References: GenerateProfileSelection
{
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/GenerateProfileSelection"
}
]
}Link to this typeProtocolCoverage9 fields
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"kind": {
"type": "string"
},
"surfaceRegistered": {
"type": "boolean"
},
"wireSchemaGenerated": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"unsupported",
"partial",
"implemented"
]
},
"notes": {
"type": "string"
},
"tests": {
"type": "array",
"items": {
"type": "string"
}
},
"semanticsImplemented": {
"type": "boolean"
},
"semanticsVerified": {
"type": "boolean"
}
},
"required": [
"name",
"kind",
"surfaceRegistered",
"wireSchemaGenerated",
"status",
"semanticsImplemented",
"semanticsVerified"
],
"additionalProperties": false
}Link to this typeProtocolError3 fields
Protocol error payload; preserve code, message and arbitrary data unchanged.
{
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
},
"data": {}
},
"required": [
"code",
"message"
],
"additionalProperties": false,
"description": "Protocol error payload; preserve code, message and arbitrary data unchanged."
}Link to this typeProxy3 fields
{
"type": "object",
"properties": {
"server": {
"type": "string"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}Link to this typeRealmDiagnostics2 fields
References: Diagnostics
{
"type": "object",
"properties": {
"realm": {
"type": "string"
},
"diagnostics": {
"$ref": "#/$defs/Diagnostics"
}
},
"required": [
"realm",
"diagnostics"
],
"additionalProperties": false
}Link to this typeResetProfileOverridesParams1 fields
{
"type": "object",
"properties": {
"targetId": {
"type": "string",
"minLength": 1
}
},
"required": [
"targetId"
],
"additionalProperties": false
}Link to this typeResetProfileOverridesResult1 fields
References: EnvironmentProfile
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/EnvironmentProfile"
}
},
"required": [
"profile"
],
"additionalProperties": false
}Link to this typeResourceBudgets7 fields
{
"type": "object",
"properties": {
"maxRequests": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"maxConcurrent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"maxWireBytes": {
"type": "integer",
"const": 0,
"description": "Nonzero wire budgets are not implemented by the runtime."
},
"maxBodyBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"maxResponseBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"maxDecodedBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"maxRetainedBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
},
"required": [],
"additionalProperties": false
}Link to this typeResourceMatch7 fields
{
"type": "object",
"properties": {
"kinds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"document",
"iframe",
"script",
"stylesheet",
"image",
"font",
"media",
"favicon",
"preload",
"fetch",
"xhr",
"worker",
"websocket",
"other"
]
}
},
"hosts": {
"type": "array",
"items": {
"type": "string"
}
},
"origins": {
"type": "array",
"items": {
"type": "string"
}
},
"urlGlob": {
"type": "string"
},
"owners": {
"type": "array",
"items": {
"type": "string"
}
},
"mechanisms": {
"type": "array",
"items": {
"type": "string"
}
},
"topLevelSite": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}Link to this typeResourcePolicy4 fields
References: ResourceBudgets, ResourceRule
{
"type": "object",
"properties": {
"reportOnly": {
"type": "boolean"
},
"presets": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"noVisualAssets",
"headersOnly",
"dataExtraction",
"noSpeculativeLoads"
]
}
},
"rules": {
"type": "array",
"items": {
"$ref": "#/$defs/ResourceRule"
}
},
"budgets": {
"$ref": "#/$defs/ResourceBudgets"
}
},
"required": [],
"additionalProperties": false
}Link to this typeResourcePolicyStats18 fields
{
"type": "object",
"properties": {
"generation": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"requests": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"networkAcquisitions": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"cacheHits": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"blocked": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"headerOnly": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"prefixes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"wireBytesKnown": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"encodedNetworkBodyBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"bodyBytesConsumed": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"retainedBodyBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"decodedPixelWorkBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"knownAvoidedBodyReadBytes": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"unknownAvoidedBodyRequests": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"wouldBlock": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"wouldBypassCache": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"budgetDenied": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"byRule": {
"type": "object",
"additionalProperties": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
}
},
"required": [
"generation",
"requests",
"networkAcquisitions",
"cacheHits",
"blocked",
"headerOnly",
"prefixes",
"wireBytesKnown",
"encodedNetworkBodyBytes",
"bodyBytesConsumed",
"retainedBodyBytes",
"decodedPixelWorkBytes",
"knownAvoidedBodyReadBytes",
"unknownAvoidedBodyRequests",
"wouldBlock",
"wouldBypassCache",
"budgetDenied",
"byRule"
],
"additionalProperties": false
}Link to this typeResourceRule3 fields
References: ResourceMatch, ResourceWork
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"match": {
"$ref": "#/$defs/ResourceMatch"
},
"work": {
"$ref": "#/$defs/ResourceWork"
}
},
"required": [
"id"
],
"additionalProperties": false
}Link to this typeResourceWork7 fields
{
"type": "object",
"properties": {
"cacheRead": {
"type": "boolean"
},
"network": {
"type": "boolean"
},
"body": {
"type": "string",
"enum": [
"full",
"none",
"prefix"
]
},
"prefixBytes": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"decode": {
"type": "boolean"
},
"cacheRetain": {
"type": "boolean"
},
"debugRetain": {
"type": "boolean"
}
},
"required": [],
"additionalProperties": false
}Link to this typeResumeParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeResumeResultobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeSetMediaProfileParams5 fields
Choose devices (including an explicit empty list) or camera/microphone shorthand. Source matching, device uniqueness and mode coherence are validated by the runtime.
References: MediaCameraRequest, MediaDeviceProfile, MediaMicrophoneRequest
{
"type": "object",
"properties": {
"seed": {
"type": "string",
"maxLength": 1024
},
"camera": {
"$ref": "#/$defs/MediaCameraRequest"
},
"microphone": {
"$ref": "#/$defs/MediaMicrophoneRequest"
},
"devices": {
"type": "array",
"maxItems": 16,
"items": {
"$ref": "#/$defs/MediaDeviceProfile"
}
},
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [],
"additionalProperties": false,
"description": "Choose devices (including an explicit empty list) or camera/microphone shorthand. Source matching, device uniqueness and mode coherence are validated by the runtime.",
"oneOf": [
{
"required": [
"devices"
],
"not": {
"anyOf": [
{
"required": [
"camera"
]
},
{
"required": [
"microphone"
]
}
]
}
},
{
"anyOf": [
{
"required": [
"camera"
]
},
{
"required": [
"microphone"
]
}
],
"not": {
"required": [
"devices"
]
}
}
]
}Link to this typeSetMediaProfileResult2 fields
References: MediaProfile
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/MediaProfile"
},
"nativeModesVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"profile",
"nativeModesVerified"
],
"additionalProperties": false
}Link to this typeSetViewportParams2 fields
{
"type": "object",
"properties": {
"width": {
"type": "integer",
"minimum": 1
},
"height": {
"type": "integer",
"minimum": 1
}
},
"required": [
"width",
"height"
],
"additionalProperties": false
}Link to this typeSetViewportResultobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeStartTraceParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeStartTraceResultobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeStopTraceParamsobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeStopTraceResultobject
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Link to this typeTraceEvent5 fields
{
"type": "object",
"properties": {
"sequence": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
},
"time": {
"type": "string",
"format": "date-time"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"data": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"sequence",
"time",
"kind",
"name"
],
"additionalProperties": false
}Link to this typeUpdateProfileParams2 fields
References: ProfilePatch
{
"type": "object",
"properties": {
"targetId": {
"type": "string",
"minLength": 1
},
"patch": {
"$ref": "#/$defs/ProfilePatch"
}
},
"required": [
"targetId",
"patch"
],
"additionalProperties": false
}Link to this typeUpdateProfileResult1 fields
References: EnvironmentProfile
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/EnvironmentProfile"
}
},
"required": [
"profile"
],
"additionalProperties": false
}Link to this typeUpdateResourcePolicyParams2 fields
References: ResourcePolicy
{
"type": "object",
"properties": {
"browserContextId": {
"type": "string",
"minLength": 1
},
"policy": {
"$ref": "#/$defs/ResourcePolicy"
}
},
"required": [
"browserContextId",
"policy"
],
"additionalProperties": false
}Link to this typeUpdateResourcePolicyResult1 fields
{
"type": "object",
"properties": {
"generation": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Exact interoperable JSON integer. Runtime counters may eventually exceed the portable range; raw calls retain original JSON."
}
},
"required": [
"generation"
],
"additionalProperties": false
}Link to this typeValidateMediaProfileParams5 fields
Choose devices (including an explicit empty list) or camera/microphone shorthand. Source matching, device uniqueness and mode coherence are validated by the runtime.
References: MediaCameraRequest, MediaDeviceProfile, MediaMicrophoneRequest
{
"type": "object",
"properties": {
"seed": {
"type": "string",
"maxLength": 1024
},
"camera": {
"$ref": "#/$defs/MediaCameraRequest"
},
"microphone": {
"$ref": "#/$defs/MediaMicrophoneRequest"
},
"devices": {
"type": "array",
"maxItems": 16,
"items": {
"$ref": "#/$defs/MediaDeviceProfile"
}
},
"browserContextId": {
"type": "string",
"minLength": 1
}
},
"required": [],
"additionalProperties": false,
"description": "Choose devices (including an explicit empty list) or camera/microphone shorthand. Source matching, device uniqueness and mode coherence are validated by the runtime.",
"oneOf": [
{
"required": [
"devices"
],
"not": {
"anyOf": [
{
"required": [
"camera"
]
},
{
"required": [
"microphone"
]
}
]
}
},
{
"anyOf": [
{
"required": [
"camera"
]
},
{
"required": [
"microphone"
]
}
],
"not": {
"required": [
"devices"
]
}
}
]
}Link to this typeValidateMediaProfileResult2 fields
References: MediaProfile
{
"type": "object",
"properties": {
"profile": {
"$ref": "#/$defs/MediaProfile"
},
"nativeModesVerified": {
"type": "boolean",
"const": false
}
},
"required": [
"profile",
"nativeModesVerified"
],
"additionalProperties": false
}Link to this typeValidateResourcePolicyParams1 fields
References: ResourcePolicy
{
"type": "object",
"properties": {
"policy": {
"$ref": "#/$defs/ResourcePolicy"
}
},
"required": [
"policy"
],
"additionalProperties": false
}Link to this typeValidateResourcePolicyResult1 fields
References: ResourcePolicy
{
"type": "object",
"properties": {
"policy": {
"$ref": "#/$defs/ResourcePolicy"
}
},
"required": [
"policy"
],
"additionalProperties": false
}Link to this typeThis site's snapshot combines the SDK's schema/mimic/protocol.json with runtime internal/cdp/protocol_support.json. It is independent of the installed runtime; use Mimic.getVersion and Mimic.getCompatibilityMatrix to inspect the connected implementation.
Errors, timeouts & cleanup
Protocol errors and unsupported behavior
A valid generated call can still fail because the runtime does not implement it, the selected scope is wrong, or the Context is locked or busy. Keep the protocol error code, message and structured data when reporting a failure. Native framework operations continue to produce native framework errors.
Unknown methods and invalid parameters remain errors. Raw/experimental access sends an explicit method and JSON through the same SDK transport; it does not add runtime support or silently fall back to another command. In Node, client.experimental.call("getVersion", {}) takes the exact Mimic leaf name.
Timeouts and retries
A client timeout or cancellation stops waiting; it does not prove that the runtime rolled back the request. Check state before retrying a mutation, especially Context creation or profile replacement. Set framework navigation/action timeouts through the framework, and SDK transport timeouts through that binding's transport options.
Do not automatically retry all protocol errors. Preserve the original response and determine whether the operation is safe to repeat.
Connection and process ownership
Close the integration in finally or its language's disposal construct. A launched session owns its runtime process. A connected session owns its connection and Contexts it created; closing it must leave the shared runtime running. Explicitly dispose resources created through raw commands yourself.
A disconnected transport rejects pending requests. Page-bound extension clients belong to that connection and Page lifecycle. Reconnect and bind again after either is replaced.