OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "experimental": true, | 5 "experimental": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
(...skipping 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2173 "returns": [ | 2173 "returns": [ |
2174 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } | 2174 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } |
2175 ], | 2175 ], |
2176 "description": "Collects class names for the node with given id
and all of it's child nodes.", | 2176 "description": "Collects class names for the node with given id
and all of it's child nodes.", |
2177 "experimental": true | 2177 "experimental": true |
2178 }, | 2178 }, |
2179 { | 2179 { |
2180 "name": "requestChildNodes", | 2180 "name": "requestChildNodes", |
2181 "parameters": [ | 2181 "parameters": [ |
2182 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, | 2182 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, |
2183 { "name": "depth", "type": "integer", "optional": true, "des
cription": "The maximum depth at which children should be retrieved, defaults to
1. Use -1 for the entire subtree or provide an integer larger than 0.", "experi
mental": true } | 2183 { "name": "depth", "type": "integer", "optional": true, "des
cription": "The maximum depth at which children should be retrieved, defaults to
1. Use -1 for the entire subtree or provide an integer larger than 0.", "experi
mental": true }, |
| 2184 { "name": "traverseFrames", "type": "boolean", "optional": t
rue, "description": "Whether or not iframes should be traversed when returning t
he sub-tree (default is false).", "experimental": true } |
2184 ], | 2185 ], |
2185 "description": "Requests that children of the node with given id
are returned to the caller in form of <code>setChildNodes</code> events where n
ot only immediate children are retrieved, but all children down to the specified
depth." | 2186 "description": "Requests that children of the node with given id
are returned to the caller in form of <code>setChildNodes</code> events where n
ot only immediate children are retrieved, but all children down to the specified
depth." |
2186 }, | 2187 }, |
2187 { | 2188 { |
2188 "name": "querySelector", | 2189 "name": "querySelector", |
2189 "parameters": [ | 2190 "parameters": [ |
2190 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, | 2191 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, |
2191 { "name": "selector", "type": "string", "description": "Sele
ctor string." } | 2192 { "name": "selector", "type": "string", "description": "Sele
ctor string." } |
2192 ], | 2193 ], |
2193 "returns": [ | 2194 "returns": [ |
(...skipping 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4544 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4545 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4545 "parameters": [ | 4546 "parameters": [ |
4546 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4547 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4547 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4548 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4548 ], | 4549 ], |
4549 "handlers": ["browser"] | 4550 "handlers": ["browser"] |
4550 } | 4551 } |
4551 ] | 4552 ] |
4552 }] | 4553 }] |
4553 } | 4554 } |
OLD | NEW |