/** * 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, ActionableUtamElement as _ActionableUtamElement } from '@utam/core'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; /** * Selector: lightning-select * Represents the lightning-select Lightning web component. * Check if the field is required or get the label text. Expand by clicking the select box. * Select by value or select by text. * generated from JSON dist/lightning/select.utam.json * @version 2026-03-09T13:56:36.231Z * @author Salesforce */ export default class Select extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get select label text * @return string */ getLabelText(): Promise; /** * Get select value text * @return string */ getValueText(): Promise; /** * Is lightning-select required * @return boolean */ isRequired(): Promise; /** * Clicks select to expand */ expand(): Promise; /** * Click an select option with matching value */ selectByValue(text: string): Promise; /** * Click an select option with matching text */ selectByText(text: string): Promise; /** * Checks if the select is in focus * @return boolean */ hasFocus(): Promise; /** * Get select attribute value by attribute name * @return string */ getAttribute(text: string): Promise; getRoot(): Promise<(_BaseUtamElement & _ActionableUtamElement)>; getHelptext(): Promise<_Helptext>; }