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 3357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3368 "description": "This domain facilitates obtaining document snapshots wit
h DOM, layout, and style information.", | 3368 "description": "This domain facilitates obtaining document snapshots wit
h DOM, layout, and style information.", |
3369 "dependencies": ["CSS", "DOM", "Page"], | 3369 "dependencies": ["CSS", "DOM", "Page"], |
3370 "types": [ | 3370 "types": [ |
3371 { | 3371 { |
3372 "id": "DOMNode", | 3372 "id": "DOMNode", |
3373 "type": "object", | 3373 "type": "object", |
3374 "properties": [ | 3374 "properties": [ |
3375 { "name": "nodeType", "type": "integer", "description": "<co
de>Node</code>'s nodeType." }, | 3375 { "name": "nodeType", "type": "integer", "description": "<co
de>Node</code>'s nodeType." }, |
3376 { "name": "nodeName", "type": "string", "description": "<cod
e>Node</code>'s nodeName." }, | 3376 { "name": "nodeName", "type": "string", "description": "<cod
e>Node</code>'s nodeName." }, |
3377 { "name": "nodeValue", "type": "string", "description": "<co
de>Node</code>'s nodeValue." }, | 3377 { "name": "nodeValue", "type": "string", "description": "<co
de>Node</code>'s nodeValue." }, |
| 3378 { "name": "textValue", "type": "string", "optional": true, "
description": "Only set for textarea elements, contains the text value." }, |
| 3379 { "name": "inputValue", "type": "string", "optional": true,
"description": "Only set for input elements, contains the input's associated tex
t value." }, |
| 3380 { "name": "inputChecked", "type": "boolean", "optional": tru
e, "description": "Only set for radio and checkbox input elements, indicates if
the element has been checked" }, |
| 3381 { "name": "optionSelected", "type": "boolean", "optional": t
rue, "description": "Only set for option elements, indicates if the element has
been selected" }, |
3378 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des
cription": "<code>Node</code>'s id, corresponds to DOM.Node.backendNodeId." }, | 3382 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des
cription": "<code>Node</code>'s id, corresponds to DOM.Node.backendNodeId." }, |
3379 { "name": "childNodeIndexes", "type": "array", "items": { "t
ype": "integer" }, "optional": true, "description": "The indexes of the node's c
hild nodes in the <code>domNodes</code> array returned by <code>getSnapshot</cod
e>, if any." }, | 3383 { "name": "childNodeIndexes", "type": "array", "items": { "t
ype": "integer" }, "optional": true, "description": "The indexes of the node's c
hild nodes in the <code>domNodes</code> array returned by <code>getSnapshot</cod
e>, if any." }, |
3380 { "name": "attributes", "type": "array", "items": { "$ref":
"NameValue" }, "optional": true, "description": "Attributes of an <code>Element<
/code> node." }, | 3384 { "name": "attributes", "type": "array", "items": { "$ref":
"NameValue" }, "optional": true, "description": "Attributes of an <code>Element<
/code> node." }, |
3381 { "name": "pseudoElementIndexes", "type": "array", "items":
{ "type": "integer" }, "optional": true, "description": "Indexes of pseudo eleme
nts associated with this node in the <code>domNodes</code> array returned by <co
de>getSnapshot</code>, if any." }, | 3385 { "name": "pseudoElementIndexes", "type": "array", "items":
{ "type": "integer" }, "optional": true, "description": "Indexes of pseudo eleme
nts associated with this node in the <code>domNodes</code> array returned by <co
de>getSnapshot</code>, if any." }, |
3382 { "name": "layoutNodeIndex", "type": "integer", "optional":
true, "description": "The index of the node's related layout tree node in the <c
ode>layoutTreeNodes</code> array returned by <code>getSnapshot</code>, if any."
}, | 3386 { "name": "layoutNodeIndex", "type": "integer", "optional":
true, "description": "The index of the node's related layout tree node in the <c
ode>layoutTreeNodes</code> array returned by <code>getSnapshot</code>, if any."
}, |
3383 { "name": "documentURL", "type": "string", "optional": true,
"description": "Document URL that <code>Document</code> or <code>FrameOwner</co
de> node points to." }, | 3387 { "name": "documentURL", "type": "string", "optional": true,
"description": "Document URL that <code>Document</code> or <code>FrameOwner</co
de> node points to." }, |
3384 { "name": "baseURL", "type": "string", "optional": true, "de
scription": "Base URL that <code>Document</code> or <code>FrameOwner</code> node
uses for URL completion." }, | 3388 { "name": "baseURL", "type": "string", "optional": true, "de
scription": "Base URL that <code>Document</code> or <code>FrameOwner</code> node
uses for URL completion." }, |
3385 { "name": "contentLanguage", "type": "string", "optional": t
rue, "description": "Only set for documents, contains the document's content lan
guage." }, | 3389 { "name": "contentLanguage", "type": "string", "optional": t
rue, "description": "Only set for documents, contains the document's content lan
guage." }, |
3386 { "name": "publicId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code> node's publicId." }, | 3390 { "name": "publicId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code> node's publicId." }, |
3387 { "name": "systemId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code> node's systemId." }, | 3391 { "name": "systemId", "type": "string", "optional": true, "d
escription": "<code>DocumentType</code> node's systemId." }, |
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4878 "parameters": [ | 4882 "parameters": [ |
4879 { "name": "windowId", "$ref": "WindowID", "description": "Br
owser window id." } | 4883 { "name": "windowId", "$ref": "WindowID", "description": "Br
owser window id." } |
4880 ], | 4884 ], |
4881 "returns": [ | 4885 "returns": [ |
4882 { "name": "bounds", "$ref": "Bounds", "description": "Bounds
information of the window. When window state is 'minimized', the restored windo
w position and size are returned." } | 4886 { "name": "bounds", "$ref": "Bounds", "description": "Bounds
information of the window. When window state is 'minimized', the restored windo
w position and size are returned." } |
4883 ] | 4887 ] |
4884 } | 4888 } |
4885 ] | 4889 ] |
4886 }] | 4890 }] |
4887 } | 4891 } |
OLD | NEW |