/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _ViewComponent from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewComponent'; import _Spinner from 'salesforce-pageobjects/lightning/pageObjects/spinner'; import _DynamicImage from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/dynamicImage'; import _ViewMoreLess from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewMoreLess'; /** * Component that displays a welcome message, an image, and a dynamic section which might include additional information or action definitions. A spinner is shown while the initial message is being loaded. * Selector: src-welcome-view * generated from JSON dist/runtime_copilot_base/welcomeView.utam.json * @version 2026-03-09T13:56:37.375Z * @author Salesforce */ export default class WelcomeView extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the welcome container is visible * @return boolean */ isWelcomeContainerVisible(): Promise; /** * Move focus to the welcome heading */ focusOnWelcomeHeading(): Promise; /** * Check if the view component container is present * @return boolean */ isViewComponentContainerPresent(): Promise; /** * Returns true if element "viewComponentContainer" present on the page * @return boolean */ verifyViewComponentContainerPresence(): Promise; waitForSpinner(): Promise<_Spinner>; /** * Represents the dynamic image component within the welcome container. */ getDynamicImage(): Promise<_DynamicImage>; /** * Represents the spinner shown while content is loading. */ getSpinner(): Promise<_Spinner | null>; /** * Represents the text section with a view-more-less component. */ getWelcomeText(): Promise<_ViewMoreLess | null>; /** * Represents the container for the dynamic view component. */ getViewComponentContainer(): Promise<_ViewComponent | null>; }