OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
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 4434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4445 { "name": "unmodifiedText", "type": "string", "optional": tr
ue, "description": "Text that would have been generated by the keyboard if no mo
difiers were pressed (except for shift). Useful for shortcut (accelerator) key h
andling (default: \"\")." }, | 4445 { "name": "unmodifiedText", "type": "string", "optional": tr
ue, "description": "Text that would have been generated by the keyboard if no mo
difiers were pressed (except for shift). Useful for shortcut (accelerator) key h
andling (default: \"\")." }, |
4446 { "name": "keyIdentifier", "type": "string", "optional": tru
e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, | 4446 { "name": "keyIdentifier", "type": "string", "optional": tru
e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, |
4447 { "name": "code", "type": "string", "optional": true, "descr
iption": "Unique DOM defined string value for each physical key (e.g., 'KeyA') (
default: \"\")." }, | 4447 { "name": "code", "type": "string", "optional": true, "descr
iption": "Unique DOM defined string value for each physical key (e.g., 'KeyA') (
default: \"\")." }, |
4448 { "name": "windowsVirtualKeyCode", "type": "integer", "optio
nal": true, "description": "Windows virtual key code (default: 0)." }, | 4448 { "name": "windowsVirtualKeyCode", "type": "integer", "optio
nal": true, "description": "Windows virtual key code (default: 0)." }, |
4449 { "name": "nativeVirtualKeyCode", "type": "integer", "option
al": true, "description": "Native virtual key code (default: 0)." }, | 4449 { "name": "nativeVirtualKeyCode", "type": "integer", "option
al": true, "description": "Native virtual key code (default: 0)." }, |
4450 { "name": "autoRepeat", "type": "boolean", "optional": true,
"description": "Whether the event was generated from auto repeat (default: fals
e)." }, | 4450 { "name": "autoRepeat", "type": "boolean", "optional": true,
"description": "Whether the event was generated from auto repeat (default: fals
e)." }, |
4451 { "name": "isKeypad", "type": "boolean", "optional": true, "
description": "Whether the event was generated from the keypad (default: false).
" }, | 4451 { "name": "isKeypad", "type": "boolean", "optional": true, "
description": "Whether the event was generated from the keypad (default: false).
" }, |
4452 { "name": "isSystemKey", "type": "boolean", "optional": true
, "description": "Whether the event was a system key event (default: false)." } | 4452 { "name": "isSystemKey", "type": "boolean", "optional": true
, "description": "Whether the event was a system key event (default: false)." } |
4453 ], | 4453 ], |
4454 "description": "Dispatches a key event to the page.", | 4454 "description": "Dispatches a key event to the page.", |
4455 "handlers": ["renderer", "browser"] | 4455 "handlers": ["browser"] |
4456 }, | 4456 }, |
4457 { | 4457 { |
4458 "name": "dispatchMouseEvent", | 4458 "name": "dispatchMouseEvent", |
4459 "parameters": [ | 4459 "parameters": [ |
4460 { "name": "type", "type": "string", "enum": ["mousePressed",
"mouseReleased", "mouseMoved"], "description": "Type of the mouse event." }, | 4460 { "name": "type", "type": "string", "enum": ["mousePressed",
"mouseReleased", "mouseMoved"], "description": "Type of the mouse event." }, |
4461 { "name": "x", "type": "integer", "description": "X coordina
te of the event relative to the main frame's viewport."}, | 4461 { "name": "x", "type": "integer", "description": "X coordina
te of the event relative to the main frame's viewport."}, |
4462 { "name": "y", "type": "integer", "description": "Y coordina
te of the event relative to the main frame's viewport. 0 refers to the top of th
e viewport and Y increases as it proceeds towards the bottom of the viewport."}, | 4462 { "name": "y", "type": "integer", "description": "Y coordina
te of the event relative to the main frame's viewport. 0 refers to the top of th
e viewport and Y increases as it proceeds towards the bottom of the viewport."}, |
4463 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, | 4463 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, |
4464 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." }, | 4464 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." }, |
4465 { "name": "button", "type": "string", "enum": ["none", "left
", "middle", "right"], "optional": true, "description": "Mouse button (default:
\"none\")." }, | 4465 { "name": "button", "type": "string", "enum": ["none", "left
", "middle", "right"], "optional": true, "description": "Mouse button (default:
\"none\")." }, |
4466 { "name": "clickCount", "type": "integer", "optional": true,
"description": "Number of times the mouse button was clicked (default: 0)." } | 4466 { "name": "clickCount", "type": "integer", "optional": true,
"description": "Number of times the mouse button was clicked (default: 0)." } |
4467 ], | 4467 ], |
4468 "description": "Dispatches a mouse event to the page.", | 4468 "description": "Dispatches a mouse event to the page.", |
4469 "handlers": ["renderer", "browser"] | 4469 "handlers": ["browser"] |
4470 }, | 4470 }, |
4471 { | 4471 { |
4472 "name": "dispatchTouchEvent", | 4472 "name": "dispatchTouchEvent", |
4473 "hidden": true, | 4473 "hidden": true, |
4474 "parameters": [ | 4474 "parameters": [ |
4475 { "name": "type", "type": "string", "enum": ["touchStart", "
touchEnd", "touchMove"], "description": "Type of the touch event." }, | 4475 { "name": "type", "type": "string", "enum": ["touchStart", "
touchEnd", "touchMove"], "description": "Type of the touch event." }, |
4476 { "name": "touchPoints", "type": "array", "items": { "$ref":
"TouchPoint" }, "description": "Touch points." }, | 4476 { "name": "touchPoints", "type": "array", "items": { "$ref":
"TouchPoint" }, "description": "Touch points." }, |
4477 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, | 4477 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, |
4478 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." } | 4478 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." } |
4479 ], | 4479 ], |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5080 ], | 5080 ], |
5081 "returns": [ | 5081 "returns": [ |
5082 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5082 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5083 ], | 5083 ], |
5084 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5084 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5085 "hidden": true | 5085 "hidden": true |
5086 } | 5086 } |
5087 ] | 5087 ] |
5088 }] | 5088 }] |
5089 } | 5089 } |
OLD | NEW |