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 3356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3367 "description": "This domain facilitates obtaining document snapshots wit h DOM, layout, and style information.", | 3367 "description": "This domain facilitates obtaining document snapshots wit h DOM, layout, and style information.", |
3368 "dependencies": ["CSS", "DOM", "Page"], | 3368 "dependencies": ["CSS", "DOM", "Page"], |
3369 "types": [ | 3369 "types": [ |
3370 { | 3370 { |
3371 "id": "DOMNode", | 3371 "id": "DOMNode", |
3372 "type": "object", | 3372 "type": "object", |
3373 "properties": [ | 3373 "properties": [ |
3374 { "name": "nodeType", "type": "integer", "description": "<co de>Node</code>'s nodeType." }, | 3374 { "name": "nodeType", "type": "integer", "description": "<co de>Node</code>'s nodeType." }, |
3375 { "name": "nodeName", "type": "string", "description": "<cod e>Node</code>'s nodeName." }, | 3375 { "name": "nodeName", "type": "string", "description": "<cod e>Node</code>'s nodeName." }, |
3376 { "name": "nodeValue", "type": "string", "description": "<co de>Node</code>'s nodeValue." }, | 3376 { "name": "nodeValue", "type": "string", "description": "<co de>Node</code>'s nodeValue." }, |
3377 { "name": "textValue", "type": "string", "optional": true, " description": "Only set for textarea elements, contains the text value." }, | |
3378 { "name": "inputValue", "type": "string", "optional": true, "description": "Only set for input elements, contains the input's associated tex t value." }, | |
3379 { "name": "inputChecked", "type": "boolean", "optional": tru e, "description": "Only set for radio and checkbox input elements, indicates if the element has been checked" }, | |
3380 { "name": "inputSelected", "type": "boolean", "optional": tr ue, "description": "Only set for option elements, indicates if the element has b een selected" }, | |
pfeldman
2017/07/10 19:00:44
I would name this optionSelected, because it is on
dvallet
2017/07/11 00:26:07
Done
| |
3377 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des cription": "<code>Node</code>'s id, corresponds to DOM.Node.backendNodeId." }, | 3381 { "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "des cription": "<code>Node</code>'s id, corresponds to DOM.Node.backendNodeId." }, |
3378 { "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." }, | 3382 { "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." }, |
3379 { "name": "attributes", "type": "array", "items": { "$ref": "NameValue" }, "optional": true, "description": "Attributes of an <code>Element< /code> node." }, | 3383 { "name": "attributes", "type": "array", "items": { "$ref": "NameValue" }, "optional": true, "description": "Attributes of an <code>Element< /code> node." }, |
3380 { "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." }, | 3384 { "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." }, |
3381 { "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." }, | 3385 { "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." }, |
3382 { "name": "documentURL", "type": "string", "optional": true, "description": "Document URL that <code>Document</code> or <code>FrameOwner</co de> node points to." }, | 3386 { "name": "documentURL", "type": "string", "optional": true, "description": "Document URL that <code>Document</code> or <code>FrameOwner</co de> node points to." }, |
3383 { "name": "baseURL", "type": "string", "optional": true, "de scription": "Base URL that <code>Document</code> or <code>FrameOwner</code> node uses for URL completion." }, | 3387 { "name": "baseURL", "type": "string", "optional": true, "de scription": "Base URL that <code>Document</code> or <code>FrameOwner</code> node uses for URL completion." }, |
3384 { "name": "contentLanguage", "type": "string", "optional": t rue, "description": "Only set for documents, contains the document's content lan guage." }, | 3388 { "name": "contentLanguage", "type": "string", "optional": t rue, "description": "Only set for documents, contains the document's content lan guage." }, |
3385 { "name": "publicId", "type": "string", "optional": true, "d escription": "<code>DocumentType</code> node's publicId." }, | 3389 { "name": "publicId", "type": "string", "optional": true, "d escription": "<code>DocumentType</code> node's publicId." }, |
3386 { "name": "systemId", "type": "string", "optional": true, "d escription": "<code>DocumentType</code> node's systemId." }, | 3390 { "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... | |
4877 "parameters": [ | 4881 "parameters": [ |
4878 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } | 4882 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } |
4879 ], | 4883 ], |
4880 "returns": [ | 4884 "returns": [ |
4881 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } | 4885 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } |
4882 ] | 4886 ] |
4883 } | 4887 } |
4884 ] | 4888 ] |
4885 }] | 4889 }] |
4886 } | 4890 } |
OLD | NEW |