← Back to SystemInfo domain

SystemInfo.getInfo

Returns information about the system.

Domain: SystemInfo experimental

Returns

NameTypeDescription
gpuGPUInfoInformation about the GPUs on the system.
modelNamestringA 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.
modelVersionstringA 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.
commandLinestringThe command line string used to launch the browser. Will be the empty string if not supported.

Example Request

{
  "id": 1,
  "method": "SystemInfo.getInfo"
}

Example Response

{
  "id": 1,
  "result": {
    "gpu": "gpu-value",
    "modelName": "modelName-value",
    "modelVersion": "modelVersion-value",
    "commandLine": "commandLine-value"
  }
}

Usage in Node.js

const result = await send('SystemInfo.getInfo');
console.log(result);
// {"gpu": "gpu-value", "modelName": "modelName-value", "modelVersion": "modelVersion-value", "commandLine": "commandLine-value"}