← Back to Emulation domain

Emulation.removeScreen

Remove screen from the device. Only supported in headless mode.

Domain: Emulation experimental

Parameters

NameTypeDescription
screenIdScreenId

Example Request

{
  "id": 1,
  "method": "Emulation.removeScreen",
  "params": {
    "screenId": "screenId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Emulation.removeScreen', {"screenId": "screenId-value"});
console.log(result);