{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: lightning-layout",
            "Represents the lightning-layout Lightning web component.",
            "Get the lightning-layout-item by child position."
        ]
    },
    "exposeRootElement": true,
    "type": [
        "actionable"
    ],
    "methods": [
        {
            "name": "getText",
            "description": "Gets the text of the root of the layout.",
            "compose": [
                {
                    "element": "root",
                    "apply": "getText"
                }
            ]
        }
    ],
    "elements": [
        {
            "name": "layoutItem",
            "type": "utam-lightning/pageObjects/layoutItem",
            "selector": {
                "css": "lightning-layout-item:nth-child(%d)",
                "args": [
                    {
                        "name": "index",
                        "type": "number",
                        "description": "First index starts at 1"
                    }
                ]
            },
            "public": true
        },
        {
            "name": "layoutItemByText",
            "type": "utam-lightning/pageObjects/layoutItem",
            "selector": {
                "css": "lightning-layout-item",
                "returnAll": true
            },
            "filter": {
                "apply": "getText",
                "matcher": {
                    "type": "stringContains",
                    "args": [
                        {
                            "name": "titleString",
                            "type": "string"
                        }
                    ]
                },
                "findFirst": true
            },
            "public": true
        },
        {
            "name": "layoutContent",
            "type": "container",
            "selector": {
                "css": "slot > *"
            },
            "public": true
        }
    ]
}