/** * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE file or https://utam.dev/salesforce/license */ import { Driver as _Driver, Element as _Element, Locator as _Locator, BaseUtamElement as _BaseUtamElement, ActionableUtamElement as _ActionableUtamElement, UtamBasePageObject as _UtamBasePageObject, TouchableUtamElement as _TouchableUtamElement } from '@utam/core'; /** * Represents a single Mobile Home card in the Salesforce app. * Provides methods to verify the presence of common card actions and to expand/collapse the card content. * Typical usage scenarios include: * • Getting record icons using getRecordIcons * • Getting record subtitles using getRecordSubtitles * • Getting record titles using getRecordTitles * • Getting the title of the card using getTitle * • Checking whether the Add action is available using hasAddButton * • Checking whether the body is present (or collapsed) * • Checking whether the Edit action is available using hasEditButton * • Expanding or collapsing the card using toggleExpandCollapse * generated from JSON dist/salesforceapp/mcfmobilehome/mobileHomeCard.utam.json * @version 2026-03-09T13:56:34.256Z * @author Salesforce */ export default class MobileHomeCard extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get the record icons displayed in the card. */ getRecordIcons(): Promise<(_BaseUtamElement & _ActionableUtamElement)[]>; /** * Get the record subtitles displayed in the card. */ getRecordSubtitles(): Promise; /** * Get the record titles displayed in the card. */ getRecordTitles(): Promise; /** * Get the title of the card. */ getTitle(): Promise; /** * Check whether the Add button is present on the card. */ hasAddButton(): Promise; /** * Check whether the body is present in the card (or collapsed). */ hasBody(): Promise; /** * Check whether the Edit button is present on the card. */ hasEditButton(): Promise; /** * Check whether the header icon is present on the card. */ hasHeaderIcon(): Promise; /** * Toggle the card state (expand/collapse). */ toggleExpandCollapse(): Promise; getRoot(): Promise<(_BaseUtamElement & _ActionableUtamElement & _TouchableUtamElement)>; }