addedInput schema / $defs
Added value: +{
+ "AccessibilityTargetInput": {
+ "additionalProperties": false,
+ "description": "A unique accessibility role/name target within an optional DOM scope.",
+ "properties": {
+ "exact": {
+ "default": true,
+ "title": "Exact",
+ "type": "boolean"
+ },
+ "frame_selectors": {
+ "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "title": "Frame Selectors",
+ "type": "array"
+ },
+ "kind": {
+ "const": "accessibility",
+ "title": "Kind",
+ "type": "string"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Name"
+ },
+ "role": {
+ "maxLength": 500,
+ "minLength": 1,
+ "title": "Role",
+ "type": "string"
+ },
+ "shadow_hosts": {
+ "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "title": "Shadow Hosts",
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "role"
+ ],
+ "title": "AccessibilityTargetInput",
+ "type": "object"
+ },
+ "SelectorTargetInput": {
+ "additionalProperties": false,
+ "description": "A selector target with optional frame and shadow-root scope.",
+ "properties": {
+ "frame_selectors": {
+ "description": "Ordered outer-to-inner frame selectors resolved by DrissionPage.",
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "title": "Frame Selectors",
+ "type": "array"
+ },
+ "kind": {
+ "const": "selector",
+ "title": "Kind",
+ "type": "string"
+ },
+ "selector": {
+ "maxLength": 500,
+ "minLength": 1,
+ "title": "Selector",
+ "type": "string"
+ },
+ "shadow_hosts": {
+ "description": "Ordered outer-to-inner shadow host selectors resolved by DrissionPage.",
+ "items": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 8,
+ "title": "Shadow Hosts",
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "selector"
+ ],
+ "title": "SelectorTargetInput",
+ "type": "object"
+ }
+}
addedInput schema / properties / selector / anyOf
Added value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "discriminator": {
+ "mapping": {
+ "accessibility": "#/$defs/AccessibilityTargetInput",
+ "selector": "#/$defs/SelectorTargetInput"
+ },
+ "propertyName": "kind"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/SelectorTargetInput"
+ },
+ {
+ "$ref": "#/$defs/AccessibilityTargetInput"
+ }
+ ]
+ }
+]