devtools-protocol 0.0.1463868 → 0.0.1464554
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3513,6 +3513,9 @@ domain DOM
|
|
3513
3513
|
PopoverTarget
|
3514
3514
|
# Get the interest target for a given element.
|
3515
3515
|
InterestTarget
|
3516
|
+
# Get the commandfor target for a given element. In this case, this given
|
3517
|
+
# element can only be an HTMLButtonElement.
|
3518
|
+
CommandFor
|
3516
3519
|
returns
|
3517
3520
|
# NodeId of the element matching the queried relation.
|
3518
3521
|
NodeId nodeId
|
package/types/protocol.d.ts
CHANGED
@@ -7110,6 +7110,7 @@ export namespace Protocol {
|
|
7110
7110
|
export const enum GetElementByRelationRequestRelation {
|
7111
7111
|
PopoverTarget = 'PopoverTarget',
|
7112
7112
|
InterestTarget = 'InterestTarget',
|
7113
|
+
CommandFor = 'CommandFor',
|
7113
7114
|
}
|
7114
7115
|
|
7115
7116
|
export interface GetElementByRelationRequest {
|
@@ -7120,7 +7121,7 @@ export namespace Protocol {
|
|
7120
7121
|
/**
|
7121
7122
|
* Type of relation to get. (GetElementByRelationRequestRelation enum)
|
7122
7123
|
*/
|
7123
|
-
relation: ('PopoverTarget' | 'InterestTarget');
|
7124
|
+
relation: ('PopoverTarget' | 'InterestTarget' | 'CommandFor');
|
7124
7125
|
}
|
7125
7126
|
|
7126
7127
|
export interface GetElementByRelationResponse {
|