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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 "name": "reload", | 244 "name": "reload", |
245 "parameters": [ | 245 "parameters": [ |
246 { "name": "ignoreCache", "type": "boolean", "optional": true
, "description": "If true, browser cache is ignored (as if the user pressed Shif
t+refresh)." }, | 246 { "name": "ignoreCache", "type": "boolean", "optional": true
, "description": "If true, browser cache is ignored (as if the user pressed Shif
t+refresh)." }, |
247 { "name": "scriptToEvaluateOnLoad", "type": "string", "optio
nal": true, "description": "If set, the script will be injected into all frames
of the inspected page after reload." } | 247 { "name": "scriptToEvaluateOnLoad", "type": "string", "optio
nal": true, "description": "If set, the script will be injected into all frames
of the inspected page after reload." } |
248 ], | 248 ], |
249 "description": "Reloads given page optionally ignoring the cache
." | 249 "description": "Reloads given page optionally ignoring the cache
." |
250 }, | 250 }, |
251 { | 251 { |
252 "name": "navigate", | 252 "name": "navigate", |
253 "parameters": [ | 253 "parameters": [ |
254 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } | 254 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." }, |
| 255 { "name": "referrer", "type": "string", "optional": true, "e
xperimental": true, "description": "Referrer URL." } |
255 ], | 256 ], |
256 "returns": [ | 257 "returns": [ |
257 { "name": "frameId", "$ref": "FrameId", "experimental": true
, "description": "Frame id that will be navigated." } | 258 { "name": "frameId", "$ref": "FrameId", "experimental": true
, "description": "Frame id that will be navigated." } |
258 ], | 259 ], |
259 "description": "Navigates current page to the given URL." | 260 "description": "Navigates current page to the given URL." |
260 }, | 261 }, |
261 { | 262 { |
262 "name": "stopLoading", | 263 "name": "stopLoading", |
263 "description": "Force the page stop all navigations and pending
resource fetches.", | 264 "description": "Force the page stop all navigations and pending
resource fetches.", |
264 "experimental": true | 265 "experimental": true |
(...skipping 4284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4549 "name": "accepted", | 4550 "name": "accepted", |
4550 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4551 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4551 "parameters": [ | 4552 "parameters": [ |
4552 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4553 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4553 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4554 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4554 ] | 4555 ] |
4555 } | 4556 } |
4556 ] | 4557 ] |
4557 }] | 4558 }] |
4558 } | 4559 } |
OLD | NEW |