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 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2153 { | 2153 { |
2154 "name": "enable", | 2154 "name": "enable", |
2155 "description": "Enables DOM agent for the given page." | 2155 "description": "Enables DOM agent for the given page." |
2156 }, | 2156 }, |
2157 { | 2157 { |
2158 "name": "disable", | 2158 "name": "disable", |
2159 "description": "Disables DOM agent for the given page." | 2159 "description": "Disables DOM agent for the given page." |
2160 }, | 2160 }, |
2161 { | 2161 { |
2162 "name": "getDocument", | 2162 "name": "getDocument", |
| 2163 "parameters": [ |
| 2164 { "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 }, |
| 2165 { "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 } |
| 2166 ], |
2163 "returns": [ | 2167 "returns": [ |
2164 { "name": "root", "$ref": "Node", "description": "Resulting
node." } | 2168 { "name": "root", "$ref": "Node", "description": "Resulting
node." } |
2165 ], | 2169 ], |
2166 "description": "Returns the root DOM node to the caller." | 2170 "description": "Returns the root DOM node (and optionally the su
btree) to the caller." |
2167 }, | 2171 }, |
2168 { | 2172 { |
2169 "name": "collectClassNamesFromSubtree", | 2173 "name": "collectClassNamesFromSubtree", |
2170 "parameters": [ | 2174 "parameters": [ |
2171 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } | 2175 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to collect class names." } |
2172 ], | 2176 ], |
2173 "returns": [ | 2177 "returns": [ |
2174 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } | 2178 {"name": "classNames", "type": "array", "items": { "type": "
string" }, "description": "Class name list." } |
2175 ], | 2179 ], |
2176 "description": "Collects class names for the node with given id
and all of it's child nodes.", | 2180 "description": "Collects class names for the node with given id
and all of it's child nodes.", |
2177 "experimental": true | 2181 "experimental": true |
2178 }, | 2182 }, |
2179 { | 2183 { |
2180 "name": "requestChildNodes", | 2184 "name": "requestChildNodes", |
2181 "parameters": [ | 2185 "parameters": [ |
2182 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to get children for." }, | 2186 { "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 } | 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 sub-tree (default is false).", "experimental": true } |
2184 ], | 2189 ], |
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." | 2190 "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 }, | 2191 }, |
2187 { | 2192 { |
2188 "name": "querySelector", | 2193 "name": "querySelector", |
2189 "parameters": [ | 2194 "parameters": [ |
2190 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, | 2195 { "name": "nodeId", "$ref": "NodeId", "description": "Id of
the node to query upon." }, |
2191 { "name": "selector", "type": "string", "description": "Sele
ctor string." } | 2196 { "name": "selector", "type": "string", "description": "Sele
ctor string." } |
2192 ], | 2197 ], |
2193 "returns": [ | 2198 "returns": [ |
(...skipping 2414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4608 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4613 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4609 "parameters": [ | 4614 "parameters": [ |
4610 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4615 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4611 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4616 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4612 ], | 4617 ], |
4613 "handlers": ["browser"] | 4618 "handlers": ["browser"] |
4614 } | 4619 } |
4615 ] | 4620 ] |
4616 }] | 4621 }] |
4617 } | 4622 } |
OLD | NEW |