Newer
Older
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
{
"name": "setPlaybackRate",
"parameters": [
{ "name": "playbackRate", "type": "number", "description": "Playback rate for animations on page" }
],
"description": "Sets the playback rate of the document timeline."
},
{
"name": "setCurrentTime",
"parameters": [
{ "name": "currentTime", "type": "number", "description": "Current time for the page animation timeline" }
],
"description": "Sets the current time of the document timeline."
},
{
"name": "setTiming",
"parameters": [
{ "name": "playerId", "type": "string", "description": "AnimationPlayer id." },
{ "name": "duration", "type": "number", "description": "Duration of the animation." },
{ "name": "delay", "type": "number", "description": "Delay of the animation." }
],
"description": "Sets the timing of an animation node."
}
],
"events": [
{
"name": "animationPlayerCreated",
"parameters": [
{ "name": "player", "$ref": "AnimationPlayer", "description": "AnimationPlayer that was created." },
{ "name": "resetTimeline", "type": "boolean", "description": "Whether the timeline should be reset." }
],
"description": "Event for each animation player that has been created."
},
{
"name": "animationPlayerCanceled",
"parameters": [
{ "name": "playerId", "type": "string", "description": "Id of the AnimationPlayer that was cancelled." }
],
"description": "Event for AnimationPlayers in the frontend that have been cancelled."
}
]
},
{
"domain": "Accessibility",
"hidden": true,
"types": [
{
"id": "AXNodeId",
"type": "string",
"description": "Unique accessibility node identifier."
},
{
"id": "AXValueType",
"type": "string",
"enum": [ "boolean", "tristate", "booleanOrUndefined", "idref", "idrefList", "integer", "number", "string", "token", "tokenList", "domRelation", "role", "internalRole" ],
"description": "Enum of possible property types."
},
{
"id": "AXPropertySourceType",
"type": "string",
"enum": [ "attribute", "implicit", "style" ],
"description": "Enum of possible property sources."
},
{
"id": "AXPropertySource",
"type": "object",
"properties": [
{ "name": "name", "type": "string", "description": "The name/label of this source." },
{ "name": "sourceType", "$ref": "AXPropertySourceType", "description": "What type of source this is." },
{ "name": "value", "type": "any", "description": "The value of this property source." },
{ "name": "type", "$ref": "AXValueType", "description": "What type the value should be interpreted as." },
{ "name": "invalid", "type": "boolean", "description": "Whether the value for this property is invalid.", "optional": true },
{ "name": "invalidReason", "type": "string", "description": "Reason for the value being invalid, if it is.", "optional": true }
],
"description": "A single source for a computed AX property."
},
{
"id": "AXRelatedNode",
"type": "object",
"properties": [
{ "name": "idref", "type": "string", "description": "The IDRef value provided, if any.", "optional": true },
{ "name": "backendNodeId", "$ref": "DOM.BackendNodeId", "description": "The BackendNodeId of the related node." }
]
},
{
"id": "AXProperty",
"type": "object",
"properties": [
{ "name": "name", "type": "string", "description": "The name of this property." },
{ "name": "value", "$ref": "AXValue", "description": "The value of this property." }
]
},
{
"id": "AXValue",
"type": "object",
"properties": [
{ "name": "type", "$ref": "AXValueType", "description": "The type of this value." },
{ "name": "value", "type": "any", "description": "The computed value of this property.", "optional": true },
{ "name": "relatedNodeValue", "$ref": "AXRelatedNode", "description": "The related node value, if any.", "optional": true },
{ "name": "relatedNodeArrayValue", "type": "array", "items": { "$ref": "AXRelatedNode" }, "description": "Multiple relted nodes, if applicable.", "optional": true },
{ "name": "sources", "type": "array", "items": { "$ref": "AXPropertySource" }, "description": "The sources which contributed to the computation of this property.", "optional": true }
],
"description": "A single computed AX property."
},
{
"id": "AXGlobalStates",
"type": "string",
"enum": [ "disabled", "hidden", "hiddenRoot", "invalid" ],
"description": "States which apply to every AX node."
},
{
"id": "AXLiveRegionAttributes",
"type": "string",
"enum": [ "live", "atomic", "relevant", "busy", "root" ],
"description": "Attributes which apply to nodes in live regions."
},
{
"id": "AXWidgetAttributes",
"type": "string",
"enum": [ "autocomplete", "haspopup", "level", "multiselectable", "orientation", "multiline", "readonly", "required", "valuemin", "valuemax", "valuetext" ],
"Description": "Attributes which apply to widgets."
},
{
"id": "AXWidgetStates",
"type": "string",
"enum": [ "checked", "expanded", "pressed", "selected" ],
"description": "States which apply to widgets."
},
{
"id": "AXRelationshipAttributes",
"type": "string",
"enum": [ "activedescendant", "flowto", "controls", "describedby", "labelledby", "owns" ],
"description": "Relationships between elements other than parent/child/sibling."
},
{
"id": "AXNode",
"type": "object",
"properties": [
{ "name": "nodeId", "$ref": "AXNodeId", "description": "Unique identifier for this node." },
{ "name": "role", "$ref": "AXValue", "description": "This <code>Node</code>'s role, whether explicit or implicit." },
{ "name": "name", "$ref": "AXValue", "description": "The accessible name for this <code>Node</code>.", "optional": true },
{ "name": "description", "$ref": "AXValue", "description": "The accessible description for this <code>Node</code>.", "optional": true },
{ "name": "value", "$ref": "AXValue", "description": "The value for this <code>Node</code>.", "optional": true },
{ "name": "help", "$ref": "AXValue", "description": "Help.", "optional": true },
{ "name": "properties", "type": "array", "items": { "$ref": "AXProperty" }, "description": "All other properties" }
],
"description": "A node in the accessibility tree."
}
],
"commands": [
{
"name": "getAXNode",
"parameters": [
{ "name": "nodeId", "$ref": "DOM.NodeId", "description": "ID of node to get accessibility node for." }
],
"returns": [
{ "name": "accessibilityNode", "$ref": "AXNode", "description": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "optional": true }
],
"description": "Fetches the accessibility node for this DOM node, if it exists.",
"hidden": true
}
]
}]
}