/** * 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, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; import _RecordLayout from 'salesforce-pageobjects/force/pageObjects/recordLayout'; import _Datatable from 'salesforce-pageobjects/lightning/pageObjects/datatable'; /** * Selector: forceDockingPanel. * Represents the force:dockingPanel Aura component. * Get the panel title. Check if a panel is docked. Get a button by text. * generated from JSON dist/force/dockingPanel.utam.json * @version 2026-03-09T13:56:35.795Z * @author Salesforce */ export default class DockingPanel extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Gets the title of the docking panel * @return the title of the docking panel */ getPanelTitle(): Promise; /** * Gets a value indicating whether the docking panel is docked * @return true if the docking panel is docked; otherwise, false */ isPanelDocked(): Promise; /** * Waits for and gets the record layout in the docking panel * @return the record layout (utam-force/pageObjects/recordLayout) */ getRecordLayout(): Promise<_RecordLayout>; /** * Waits for and gets the list of errors in the docking panel, if any * @return the list of errors in the docking panel, if any */ getAllErrors(): Promise<(_BaseUtamElement & _ActionableUtamElement)[]>; getPanelHeaderButton(buttonTitle: string): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getDatatable(): Promise<_Datatable>; getButtonByText(text: string): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)>; }