/** * 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 _BaseCombobox from 'salesforce-pageobjects/lightning/pageObjects/baseCombobox'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; /** * Selector: lightning-combobox * Represents the lightning-combobox Lightning web component. * Get the label text or check if the field is required. Opens base combobox dropdown * generated from JSON dist/lightning/combobox.utam.json * @version 2026-03-09T13:56:36.014Z * @author Salesforce */ export default class Combobox extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Gets the label text * @return string */ getLabelText(): Promise; /** * Checks if the field is required * @return boolean */ isRequired(): Promise; /** * Checks if the field has error * @return boolean */ hasError(): Promise; /** * Gets the error message * @return string|null */ getErrorMessage(): Promise; /** * Performs click action on combobox and wait for popup to open */ openDropdown(): Promise; getBase(): Promise<_BaseCombobox>; getHelptext(): Promise<_Helptext>; }