| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "hidden": true, | 5 "hidden": 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 { "name": "secure", "type": "boolean", "description": "True
if cookie is secure." }, | 177 { "name": "secure", "type": "boolean", "description": "True
if cookie is secure." }, |
| 178 { "name": "session", "type": "boolean", "description": "True
in case of session cookie." } | 178 { "name": "session", "type": "boolean", "description": "True
in case of session cookie." } |
| 179 ], | 179 ], |
| 180 "hidden": true | 180 "hidden": true |
| 181 }, | 181 }, |
| 182 { | 182 { |
| 183 "id": "ScriptIdentifier", | 183 "id": "ScriptIdentifier", |
| 184 "type": "string", | 184 "type": "string", |
| 185 "description": "Unique script identifier.", | 185 "description": "Unique script identifier.", |
| 186 "hidden": true | 186 "hidden": true |
| 187 }, |
| 188 { |
| 189 "id": "NavigationEntry", |
| 190 "type": "object", |
| 191 "description": "Navigation history entry.", |
| 192 "properties": [ |
| 193 { "name": "id", "type": "integer", "description": "Unique id o
f the navigation history entry." }, |
| 194 { "name": "url", "type": "string", "description": "URL of the
navigation history entry." }, |
| 195 { "name": "title", "type": "string", "description": "Title of
the navigation history entry." } |
| 196 ], |
| 197 "hidden": true |
| 187 } | 198 } |
| 188 ], | 199 ], |
| 189 "commands": [ | 200 "commands": [ |
| 190 { | 201 { |
| 191 "name": "enable", | 202 "name": "enable", |
| 192 "description": "Enables page domain notifications." | 203 "description": "Enables page domain notifications." |
| 193 }, | 204 }, |
| 194 { | 205 { |
| 195 "name": "disable", | 206 "name": "disable", |
| 196 "description": "Disables page domain notifications." | 207 "description": "Disables page domain notifications." |
| (...skipping 25 matching lines...) Expand all Loading... |
| 222 "description": "Reloads given page optionally ignoring the cache
." | 233 "description": "Reloads given page optionally ignoring the cache
." |
| 223 }, | 234 }, |
| 224 { | 235 { |
| 225 "name": "navigate", | 236 "name": "navigate", |
| 226 "parameters": [ | 237 "parameters": [ |
| 227 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } | 238 { "name": "url", "type": "string", "description": "URL to na
vigate the page to." } |
| 228 ], | 239 ], |
| 229 "description": "Navigates current page to the given URL." | 240 "description": "Navigates current page to the given URL." |
| 230 }, | 241 }, |
| 231 { | 242 { |
| 243 "name": "getNavigationHistory", |
| 244 "parameters": [], |
| 245 "returns": [ |
| 246 { "name": "currentIndex", "type": "integer", "description": "Ind
ex of the current navigation history entry." }, |
| 247 { "name": "entries", "type": "array", "items": { "$ref": "Naviga
tionEntry"}, "description": "Array of navigation history entries." } |
| 248 ], |
| 249 "description": "Returns navigation history for the current page.", |
| 250 "hidden": true |
| 251 }, |
| 252 { |
| 253 "name": "navigateToHistoryEntry", |
| 254 "parameters": [ |
| 255 { "name": "entryId", "type": "integer", "description": "Unique
id of the entry to navigate to." } |
| 256 ], |
| 257 "description": "Navigates current page to the given history entry.
", |
| 258 "hidden": true |
| 259 }, |
| 260 { |
| 232 "name": "getCookies", | 261 "name": "getCookies", |
| 233 "returns": [ | 262 "returns": [ |
| 234 { "name": "cookies", "type": "array", "items": { "$ref": "Co
okie"}, "description": "Array of cookie objects." }, | 263 { "name": "cookies", "type": "array", "items": { "$ref": "Co
okie"}, "description": "Array of cookie objects." }, |
| 235 { "name": "cookiesString", "type": "string", "description":
"document.cookie string representation of the cookies." } | 264 { "name": "cookiesString", "type": "string", "description":
"document.cookie string representation of the cookies." } |
| 236 ], | 265 ], |
| 237 "description": "Returns all browser cookies. Depending on the ba
ckend support, will either return detailed cookie information in the <code>cooki
e</code> field or string cookie representation using <code>cookieString</code>."
, | 266 "description": "Returns all browser cookies. Depending on the ba
ckend support, will either return detailed cookie information in the <code>cooki
e</code> field or string cookie representation using <code>cookieString</code>."
, |
| 238 "hidden": true | 267 "hidden": true |
| 239 }, | 268 }, |
| 240 { | 269 { |
| 241 "name": "deleteCookie", | 270 "name": "deleteCookie", |
| (...skipping 3690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3932 "parameters": [ | 3961 "parameters": [ |
| 3933 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } | 3962 { "name": "value", "type": "array", "items": { "type": "obje
ct" } } |
| 3934 ] | 3963 ] |
| 3935 }, | 3964 }, |
| 3936 { | 3965 { |
| 3937 "name": "tracingComplete" | 3966 "name": "tracingComplete" |
| 3938 } | 3967 } |
| 3939 ] | 3968 ] |
| 3940 }] | 3969 }] |
| 3941 } | 3970 } |
| OLD | NEW |