{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: lst-related-list-container.",
            "Represents the related list container Lightning web component.",
            "Access the single related list containers."
        ]
    },
    "beforeLoad": [
        {
            "apply": "waitFor",
            "args": [
                {
                    "type": "function",
                    "predicate": [
                        {
                            "element": "root",
                            "apply": "isPresent"
                        },
                        {
                            "element": "root",
                            "apply": "containsElement",
                            "args": [
                                {
                                    "type": "locator",
                                    "value": {
                                        "css": "lst-related-list-single-container"
                                    }
                                },
                                {
                                    "value": true
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "methods": [
        {
            "name": "getRelatedList",
            "compose": [
                {
                    "returnType": "utam-lists/pageObjects/relatedListSingleContainer",
                    "applyExternal": {
                        "type": "utam-lists/utils/relatedListContainerUtils",
                        "invoke": "getRelatedList",
                        "args": [
                            {
                                "name": "relatedListName",
                                "type": "string"
                            }
                        ]
                    }
                }
            ],
            "description": {
                "text": [
                    "Get the related list "
                ],
                "return": "RelatedList value"
            }
        }
    ],
    "shadow": {
        "elements": [
            {
                "type": "utam-lists/pageObjects/relatedListSingleContainer",
                "name": "relatedLists",
                "public": true,
                "selector": {
                    "css": "lst-related-list-single-container",
                    "returnAll": true
                }
            }
        ]
    }
}