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"
+ }
+}
changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "title": "Count",
- "type": "integer"
- },
- "elements": {
- "items": {
- "additionalProperties": true,
- "type": "object"
- },
- "title": "Elements",
- "type": "array"
- },
- "limit": {
- "title": "Limit",
- "type": "integer"
- },
- "locator": {
- "title": "Locator",
- "type": "string"
- },
- "meta": {
- "additionalProperties": true,
- "title": "Meta",
- "type": "object"
- },
- "returned": {
- "title": "Returned",
- "type": "integer"
- },
- "selector": {
- "title": "Selector",
- "type": "string"
- },
- "selector_normalized": {
- "title": "Selector Normalized",
- "type": "boolean"
- },
- "selector_strategy": {
- "title": "Selector Strategy",
- "type": "string"
- },
- "truncated": {
- "title": "Truncated",
- "type": "boolean"
- }
- },
- "required": [
- "selector",
- "locator",
- "selector_strategy",
- "selector_normalized",
- "count",
- "returned",
- "limit",
- "truncated",
- "elements",
- "meta"
- ],
- "title": "ElementFindAllData",
- "type": "object"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": true
- }
- },
- "required": [
- "ok",
- "message",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": true,
- "type": "object"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "details": {
- "additionalProperties": true,
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "message": {
- "type": "string"
- },
- "ok": {
- "const": false
- }
- },
- "required": [
- "ok",
- "message",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "title": "Count",
+ "type": "integer"
+ },
+ "elements": {
+ "items": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "title": "Elements",
+ "type": "array"
+ },
+ "exact": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Exact"
+ },
+ "frame_selectors": {
+ "items": {
+ "type": "string"
+ },
+ "title": "Frame Selectors",
+ "type": "array"
+ },
+ "limit": {
+ "title": "Limit",
+ "type": "integer"
+ },
+ "locator": {
+ "title": "Locator",
+ "type": "string"
+ },
+ "meta": {
+ "additionalProperties": true,
+ "title": "Meta",
+ "type": "object"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Name"
+ },
+ "returned": {
+ "title": "Returned",
+ "type": "integer"
+ },
+ "role": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Role"
+ },
+ "selector": {
+ "title": "Selector",
+ "type": "string"
+ },
+ "selector_normalized": {
+ "title": "Selector Normalized",
+ "type": "boolean"
+ },
+ "selector_strategy": {
+ "title": "Selector Strategy",
+ "type": "string"
+ },
+ "shadow_hosts": {
+ "items": {
+ "type": "string"
+ },
+ "title": "Shadow Hosts",
+ "type": "array"
+ },
+ "target_kind": {
+ "default": "selector",
+ "enum": [
+ "selector",
+ "accessibility"
+ ],
+ "title": "Target Kind",
+ "type": "string"
+ },
+ "truncated": {
+ "title": "Truncated",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "selector",
+ "locator",
+ "selector_strategy",
+ "selector_normalized",
+ "count",
+ "returned",
+ "limit",
+ "truncated",
+ "elements",
+ "meta"
+ ],
+ "title": "ElementFindAllData",
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": true
+ }
+ },
+ "required": [
+ "ok",
+ "message",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "message",
+ "error"
+ ],
+ "type": "object"
+ }
+]