/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _WelcomeView from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/welcomeView'; import _MessageError from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/messageError'; import _ViewComponent from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewComponent'; /** * Selector: runtime_copilot-assistant-panel-home-view * Represents the runtime_copilot-assistant-panel-home-view Lightning web component. * generated from JSON dist/runtime_copilot/assistantPanelHomeView.utam.json * @version 2026-03-09T13:56:37.197Z * @author Salesforce */ export default class AssistantPanelHomeView extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the recommendation container is visible * @return boolean */ isRecommendationContainerVisible(): Promise; /** * Check if the recommendation spinner is visible * @return boolean */ isRecommendationSpinnerVisible(): Promise; /** * Returns true if element "recommendationContainer" present on the page * @return boolean */ verifyRecommendationContainerPresence(): Promise; /** * Returns true if element "recommendationLabel" present on the page * @return boolean */ verifyRecommendationLabelPresence(): Promise; /** * Returns true if element "recommendationSpinner" present on the page * @return boolean */ verifyRecommendationSpinnerPresence(): Promise; waitForWelcomeView(): Promise<_WelcomeView>; getMessageError(): Promise<_MessageError | null>; getViewComponent(): Promise<_ViewComponent | null>; getRecommendLabel(): Promise<(_BaseUtamElement)>; /** * Represents the welcome view component with initial messages and actions. */ getWelcomeView(): Promise<_WelcomeView | null>; /** * Represents the view component for recommended actions. */ getRecommendationViewComponent(): Promise<_ViewComponent | null>; }