Emulation.setEmulatedVisionDeficiencyEmulates the given vision deficiency.
| Name | Type | Description |
|---|---|---|
type | string | Vision deficiency to emulate. Order: best-effort emulations come first, followed by any physiologically accurate emulations for medically recognized color vision deficiencies. |
{
"id": 1,
"method": "Emulation.setEmulatedVisionDeficiency",
"params": {
"type": "type-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Emulation.setEmulatedVisionDeficiency', {"type": "type-value"});
console.log(result);