{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: lightning-combobox",
            "Represents the lightning-combobox Lightning web component.",
            "Get the label text or check if the field is required. Opens base combobox dropdown"
        ]
    },
    "methods": [
        {
            "name": "getLabelText",
            "description": {
                "text": [
                    "Gets the label text"
                ],
                "return": "string"
            },
            "compose": [
                {
                    "element": "labelText",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "isRequired",
            "description": {
                "text": [
                    "Checks if the field is required"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "required",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        },
        {
            "name": "hasError",
            "description": {
                "text": [
                    "Checks if the field has error"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "errorHiddenLabel",
                    "matcher": {
                        "type": "notNull"
                    }
                }
            ]
        },
        {
            "name": "getErrorMessage",
            "description": {
                "text": [
                    "Gets the error message"
                ],
                "return": "string|null"
            },
            "compose": [
                {
                    "element": "error",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "openDropdown",
            "description": "Performs click action on combobox and wait for popup to open",
            "compose": [
                {
                    "element": "base",
                    "apply": "expand"
                }
            ]
        }
    ],
    "shadow": {
        "elements": [
            {
                "name": "labelText",
                "selector": {
                    "css": "label"
                },
                "elements": [
                    {
                        "name": "required",
                        "selector": {
                            "css": ".slds-required"
                        },
                        "nullable": true
                    }
                ]
            },
            {
                "name": "error",
                "nullable": true,
                "selector": {
                    "css": "[data-help-text]"
                }
            },
            {
                "name": "errorHiddenLabel",
                "nullable": true,
                "selector": {
                    "css": "[data-help-text] .slds-assistive-text"
                }
            },
            {
                "name": "base",
                "type": "utam-lightning/pageObjects/baseCombobox",
                "selector": {
                    "css": "lightning-base-combobox"
                },
                "public": true
            },
            {
                "name": "helptext",
                "type": "utam-lightning/pageObjects/helptext",
                "selector": {
                    "css": "lightning-helptext"
                },
                "public": true
            }
        ]
    }
}