Chrome DevTools Protocol

Methods

SystemInfo.getFeatureState

Returns information about the feature state.

parameters
featureState
string
Return Object
featureEnabled
boolean

SystemInfo.getInfo

Returns information about the system.

Return Object
gpu
GPUInfo

Information about the GPUs on the system.

modelName
string

A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported.

modelVersion
string

A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported.

commandLine
string

The command line string used to launch the browser. Will be the empty string if not supported.

SystemInfo.getProcessInfo

Returns information about all running processes.

Return Object
processInfo
array[ ProcessInfo ]

An array of process info blocks.

Types

SystemInfo.GPUDevice

Describes a single graphics processor (GPU).

Type: object

properties
vendorId
number

PCI ID of the GPU vendor, if available; 0 otherwise.

deviceId
number

PCI ID of the GPU device, if available; 0 otherwise.

subSysId
number

Sub sys ID of the GPU, only available on Windows.

revision
number

Revision of the GPU, only available on Windows.

vendorString
string

String description of the GPU vendor, if the PCI ID is not available.

deviceString
string

String description of the GPU device, if the PCI ID is not available.

driverVendor
string

String description of the GPU driver vendor.

driverVersion
string

String description of the GPU driver version.

SystemInfo.GPUInfo

Provides information about the GPU(s) on the system.

Type: object

properties
devices
array[ GPUDevice ]

The graphics devices on the system. Element 0 is the primary GPU.

auxAttributes
object

An optional dictionary of additional GPU related attributes.

featureStatus
object

An optional dictionary of graphics features and their status.

driverBugWorkarounds
array[ string ]

An optional array of GPU driver bug workarounds.

videoDecoding
array[ VideoDecodeAcceleratorCapability ]

Supported accelerated video decoding capabilities.

videoEncoding
array[ VideoEncodeAcceleratorCapability ]

Supported accelerated video encoding capabilities.

imageDecoding
array[ ImageDecodeAcceleratorCapability ]

Supported accelerated image decoding capabilities.

SystemInfo.ImageDecodeAcceleratorCapability

Describes a supported image decoding profile with its associated minimum and maximum resolutions and subsampling.

Type: object

properties
imageType
ImageType

Image coded, e.g. Jpeg.

maxDimensions
Size

Maximum supported dimensions of the image in pixels.

minDimensions
Size

Minimum supported dimensions of the image in pixels.

subsamplings
array[ SubsamplingFormat ]

Optional array of supported subsampling formats, e.g. 4:2:0, if known.

SystemInfo.ImageType

Image format of a given image.

Allowed Values: jpeg, webp, unknown

Type: string

SystemInfo.ProcessInfo

Represents process info.

Type: object

properties
type
string

Specifies process type.

id
integer

Specifies process id.

cpuTime
number

Specifies cumulative CPU usage in seconds across all threads of the process since the process start.

SystemInfo.Size

Describes the width and height dimensions of an entity.

Type: object

properties
width
integer

Width in pixels.

height
integer

Height in pixels.

SystemInfo.SubsamplingFormat

YUV subsampling type of the pixels of a given image.

Allowed Values: yuv420, yuv422, yuv444

Type: string

SystemInfo.VideoDecodeAcceleratorCapability

Describes a supported video decoding profile with its associated minimum and maximum resolutions.

Type: object

properties
profile
string

Video codec profile that is supported, e.g. VP9 Profile 2.

maxResolution
Size

Maximum video dimensions in pixels supported for this |profile|.

minResolution
Size

Minimum video dimensions in pixels supported for this |profile|.

SystemInfo.VideoEncodeAcceleratorCapability

Describes a supported video encoding profile with its associated maximum resolution and maximum framerate.

Type: object

properties
profile
string

Video codec profile that is supported, e.g H264 Main.

maxResolution
Size

Maximum video dimensions in pixels supported for this |profile|.

maxFramerateNumerator
integer

Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.

maxFramerateDenominator
integer