/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, ActionableUtamElement as _ActionableUtamElement, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; /** * Selector: lightning-accordion-section. * Represents the lightning-accordion-section Lightning web component. * Check if a section is active, toggle it to expand or close, or retrieve a section's contents. * generated from JSON dist/lightning/accordionSection.utam.json * @version 2026-03-09T13:56:35.968Z * @author Salesforce */ export default class AccordionSection extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Checks if accordion section is active/open * @return boolean */ isActive(): Promise; /** * Get section summary button label * @return string */ getLabel(): Promise; /** * Checks if lightning-accordion-section has focus at the moment * @return boolean */ hasFocus(): Promise; /** * Click section summary button to toggle accordion section */ toggle(): Promise; getRoot(): Promise<(_BaseUtamElement & _ActionableUtamElement)>; getSectionContents(ContainerCtor: _ContainerCtor): Promise; getBasicHTML(cssSelectorString: string): Promise<(_BaseUtamElement)>; }