{
    "description": {
        "author": "Salesforce",
        "text": [
            "Selector: .calendarHeader.",
            "Represents the force:calendarHeader Aura component.",
            "Get the button by text."
        ]
    },
    "elements": [
        {
            "name": "buttonByText",
            "type": [
                "clickable",
                "actionable"
            ],
            "public": true,
            "selector": {
                "css": "button",
                "returnAll": true
            },
            "filter": {
                "apply": "getText",
                "findFirst": true,
                "matcher": {
                    "type": "stringContains",
                    "args": [
                        {
                            "name": "text",
                            "type": "string"
                        }
                    ]
                }
            }
        }
    ]
}