/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; /** * Selector: lightning-record-picker * Represents the lightning-record-picker Lightning web component. * generated from JSON dist/lightning/recordPicker.utam.json * @version 2026-03-09T13:56:36.219Z * @author Salesforce */ export default class RecordPicker extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Type a text into the combobox input * @return none */ typeText(text: string): Promise; /** * Gets the input text * @return string */ getInputText(): Promise; /** * Performs click action on the suggestion item based on the record label. If the record has a secondary field, * it must be included in the label after the primary field (record's name) separated * with a `\n` character (e.g. MyRecordName\nMyRecordSecondaryField) * @return none */ pickSuggestionItemByLabel(text: string): Promise; /** * Gets the label of the item selected in the input * @return string */ getSelectionAsText(): Promise; /** * Waits for the record picker to be ready (metadata fetched) */ waitUntilReady(): Promise; }