| { |
| "domain": "Inspector", |
| "availability": ["javascript", "web"], |
| "commands": [ |
| { |
| "name": "enable", |
| "description": "Enables inspector domain notifications." |
| }, |
| { |
| "name": "disable", |
| "description": "Disables inspector domain notifications." |
| }, |
| { |
| "name": "initialized", |
| "description": "Sent by the frontend after all initialization messages have been sent." |
| } |
| ], |
| "events": [ |
| { |
| "name": "evaluateForTestInFrontend", |
| "parameters": [ |
| { "name": "script", "type": "string" } |
| ] |
| }, |
| { |
| "name": "inspect", |
| "parameters": [ |
| { "name": "object", "$ref": "Runtime.RemoteObject" }, |
| { "name": "hints", "type": "object" } |
| ] |
| }, |
| { |
| "name": "activateExtraDomains", |
| "description": "Fired when the backend has alternate domains that need to be activated.", |
| "parameters": [ |
| { "name": "domains", "type": "array", "items": { "type": "string" }, "description": "Domain names that need activation" } |
| ] |
| } |
| ] |
| } |