Emulation.canEmulateTells whether emulation is supported.
| Name | Type | Description |
|---|---|---|
result | boolean | True if emulation is supported. |
{
"id": 1,
"method": "Emulation.canEmulate"
}
{
"id": 1,
"result": {
"result": {
"type": "string",
"value": "Example Domain"
}
}
}
const result = await send('Emulation.canEmulate');
console.log(result);
// {"result": {"type": "string", "value": "Example Domain"}}