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 stringReturn object
featureEnabled booleanSystemInfo.getInfo #
Returns information about the system.
Return object
gpu Information about the GPUs on the system.
modelName stringA 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 stringA 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 stringThe 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 numberPCI ID of the GPU vendor, if available; 0 otherwise.
deviceId numberPCI ID of the GPU device, if available; 0 otherwise.
subSysIdOptional
numberSub sys ID of the GPU, only available on Windows.
revisionOptional
numberRevision of the GPU, only available on Windows.
vendorString stringString description of the GPU vendor, if the PCI ID is not available.
deviceString stringString description of the GPU device, if the PCI ID is not available.
driverVendor stringString description of the GPU driver vendor.
driverVersion stringString 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.
auxAttributesOptional
objectAn optional dictionary of additional GPU related attributes.
featureStatusOptional
objectAn 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 stringSpecifies process type.
id integerSpecifies process id.
cpuTime numberSpecifies 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 integerWidth in pixels.
height integerHeight 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 stringVideo 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 stringVideo codec profile that is supported, e.g H264 Main.
maxResolution Maximum video dimensions in pixels supported for this |profile|.
maxFramerateNumerator integerMaximum 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