| 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 2165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2176 { | 2176 { |
| 2177 "name": "enable", | 2177 "name": "enable", |
| 2178 "description": "Enables DOM agent for the given page." | 2178 "description": "Enables DOM agent for the given page." |
| 2179 }, | 2179 }, |
| 2180 { | 2180 { |
| 2181 "name": "disable", | 2181 "name": "disable", |
| 2182 "description": "Disables DOM agent for the given page." | 2182 "description": "Disables DOM agent for the given page." |
| 2183 }, | 2183 }, |
| 2184 { | 2184 { |
| 2185 "name": "getDocument", | 2185 "name": "getDocument", |
| 2186 "parameters": [ |
| 2187 { "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 }, |
| 2188 { "name": "traverseFrames", "type": "boolean", "optional": t
rue, "description": "Whether or not iframes should be traversed when returning t
he subtree (default is false).", "experimental": true } |
| 2189 ], |
| 2186 "returns": [ | 2190 "returns": [ |
| 2187 { "name": "root", "$ref": "Node", "description": "Resulting
node." } | 2191 { "name": "root", "$ref": "Node", "description": "Resulting
node." } |
| 2188 ], | 2192 ], |
| 2189 "description": "Returns the root DOM node to the caller." | 2193 "description": "Returns the root DOM node (and optionally the su
btree) to the caller." |
| 2190 }, | 2194 }, |
| 2191 { | 2195 { |
| 2192 "name": "getLayoutTreeNodes", | 2196 "name": "getLayoutTreeNodes", |
| 2193 "returns": [ | 2197 "returns": [ |
| 2194 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } } | 2198 { "name": "layoutTreeNodes", "type": "array", "items": { "$r
ef": "LayoutTreeNode" } } |
| 2195 ], | 2199 ], |
| 2196 "description": "Returns the document's LayoutTreeNodes to the ca
ller, and those of any iframes too.", | 2200 "description": "Returns the document's LayoutTreeNodes to the ca
ller, and those of any iframes too.", |
| 2197 "experimental": true | 2201 "experimental": true |
| 2198 }, | 2202 }, |
| 2199 { | 2203 { |
| 2200 "name": "collectClassNamesFromSubtree", | 2204 "name": "collectClassNamesFromSubtree", |
| 2201 "parameters": [ | 2205 "parameters": [ |
| 2202 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } | 2206 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } |
| 2203 ], | 2207 ], |
| 2204 "returns": [ | 2208 "returns": [ |
| 2205 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } | 2209 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } |
| 2206 ], | 2210 ], |
| 2207 "description": "Collects class names for the node with given id
and all of it's child nodes.", | 2211 "description": "Collects class names for the node with given id
and all of it's child nodes.", |
| 2208 "experimental": true | 2212 "experimental": true |
| 2209 }, | 2213 }, |
| 2210 { | 2214 { |
| 2211 "name": "requestChildNodes", | 2215 "name": "requestChildNodes", |
| 2212 "parameters": [ | 2216 "parameters": [ |
| 2213 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, | 2217 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, |
| 2214 { "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 } | 2218 { "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 }, |
| 2219 { "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 } |
| 2215 ], | 2220 ], |
| 2216 "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." | 2221 "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." |
| 2217 }, | 2222 }, |
| 2218 { | 2223 { |
| 2219 "name": "querySelector", | 2224 "name": "querySelector", |
| 2220 "parameters": [ | 2225 "parameters": [ |
| 2221 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, | 2226 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, |
| 2222 { "name": "selector", "type": "string", "description": "Sele
ctor string." } | 2227 { "name": "selector", "type": "string", "description": "Sele
ctor string." } |
| 2223 ], | 2228 ], |
| 2224 "returns": [ | 2229 "returns": [ |
| (...skipping 2414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4639 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4644 "description": "Informs that port was successfully bound and got
a specified connection id.", |
| 4640 "parameters": [ | 4645 "parameters": [ |
| 4641 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4646 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
| 4642 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4647 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
| 4643 ], | 4648 ], |
| 4644 "handlers": ["browser"] | 4649 "handlers": ["browser"] |
| 4645 } | 4650 } |
| 4646 ] | 4651 ] |
| 4647 }] | 4652 }] |
| 4648 } | 4653 } |
| OLD | NEW |