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 4658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4669 }, | 4669 }, |
4670 { | 4670 { |
4671 "name": "getWindowBounds", | 4671 "name": "getWindowBounds", |
4672 "description": "Get position and size of the browser window.", | 4672 "description": "Get position and size of the browser window.", |
4673 "parameters": [ | 4673 "parameters": [ |
4674 { "name": "windowId", "$ref": "WindowID", "description": "Br
owser window id." } | 4674 { "name": "windowId", "$ref": "WindowID", "description": "Br
owser window id." } |
4675 ], | 4675 ], |
4676 "returns": [ | 4676 "returns": [ |
4677 { "name": "bounds", "$ref": "Bounds", "description": "Bounds
information of the window. When window state is 'minimized', the restored windo
w position and size are returned." } | 4677 { "name": "bounds", "$ref": "Bounds", "description": "Bounds
information of the window. When window state is 'minimized', the restored windo
w position and size are returned." } |
4678 ] | 4678 ] |
| 4679 }, |
| 4680 { |
| 4681 "name": "setDownloadBehavior", |
| 4682 "description": "Set the behavior when downloading a file (headle
ss chrome only).", |
| 4683 "parameters": [ |
| 4684 { "name": "behavior", "type": "string", "enum": ["deny", "al
low"], "description": "Whether to allow all or deny all download requests." } |
| 4685 ] |
| 4686 }, |
| 4687 { |
| 4688 "name": "setDownloadDirectory", |
| 4689 "description": "Set the directory path where downloaded fles wil
l be saved (headless chrome only).", |
| 4690 "parameters": [ |
| 4691 { "name": "path", "type": "string", "description": "The defa
ult path to save downloaded files to." } |
| 4692 ] |
4679 } | 4693 } |
4680 ] | 4694 ] |
4681 }] | 4695 }] |
4682 } | 4696 } |
OLD | NEW |