SystemInfo Domain
The SystemInfo domain defines methods and events for querying low-level system information.
Methods
Types
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
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
Optional
number
Sub sys ID of the GPU, only available on Windows.
revision
Optional
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
Optional
object
An optional dictionary of additional GPU related attributes.
featureStatus
Optional
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
Image coded, e.g. Jpeg.
maxDimensions
Maximum supported dimensions of the image in pixels.
minDimensions
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.
Type: string
Allowed values: jpeg
, webp
, unknown
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.
Type: string
Allowed values: yuv420
, yuv422
, yuv444
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
Maximum video dimensions in pixels supported for this |profile|.
minResolution
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
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