{
    "description": {
        "author": "Salesforce",
        "text": [
            "Page Object: saveLightningTypeBtn",
            "Selector: mcontent_lightning_types-save-lightning-type-btn",
            "Save button for Lightning Types - enabled when uiConfigModified is true"
        ]
    },
    "root": true,
    "selector": {
        "css": "mcontent_lightning_types-save-lightning-type-btn"
    },
    "shadow": {
        "elements": [
            {
                "public": true,
                "name": "saveButton",
                "type": "utam-lightning/pageObjects/button",
                "selector": {
                    "css": "lightning-button"
                }
            }
        ]
    },
    "methods": [
        {
            "name": "clickSave",
            "description": "Clicks the Save button",
            "compose": [
                {
                    "element": "saveButton",
                    "apply": "click"
                }
            ]
        },
        {
            "name": "isSaveButtonDisabled",
            "description": {
                "text": [
                    "Checks if Save button is disabled"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "saveButton",
                    "apply": "isDisabled",
                    "returnType": "boolean"
                }
            ]
        },
        {
            "name": "waitForSaveButtonEnabled",
            "description": "Waits for Save button to become enabled",
            "compose": [
                {
                    "element": "saveButton",
                    "apply": "waitForVisible"
                }
            ]
        }
    ]
}