/** * 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'; import _Input from 'salesforce-pageobjects/lightning/pageObjects/input'; import _Lookup from 'salesforce-pageobjects/lightning/pageObjects/lookup'; import _Textarea from 'salesforce-pageobjects/lightning/pageObjects/textarea'; import _Picklist from 'salesforce-pageobjects/lightning/pageObjects/picklist'; import _InputAddress from 'salesforce-pageobjects/lightning/pageObjects/inputAddress'; import _InputName from 'salesforce-pageobjects/lightning/pageObjects/inputName'; import _InputLocation from 'salesforce-pageobjects/lightning/pageObjects/inputLocation'; import _InputRichText from 'salesforce-pageobjects/lightning/pageObjects/inputRichText'; import _Quill from 'salesforce-pageobjects/lightning/pageObjects/quill'; /** * Selector: lightning-input-field * Represents the lightning-input-field Lightning web component. * Get the lightning input, address, location, name, input rich text, picklist, quill, textarea or lookup components. * generated from JSON dist/lightning/inputField.utam.json * @version 2026-03-09T13:56:36.114Z * @author Salesforce */ export default class InputField extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get input field class name * @return string */ getClassName(): Promise; /** * wait for input field element to load * @return utam-lightning/pageObjects/input */ waitAndGetInput(): Promise<_Input>; /** * wait for lookup field element to load * @return utam-lightning/pageObjects/lookup */ waitAndGetLookup(): Promise<_Lookup>; /** * wait for text area element to load * @return utam-lightning/pageObjects/textarea */ waitAndGetTextarea(): Promise<_Textarea>; /** * wait for picklist element to load * @return utam-lightning/pageObjects/picklist */ waitAndGetPicklist(): Promise<_Picklist>; /** * wait for input address element to load * @return utam-lightning/pageObjects/inputAddress */ waitAndGetInputAddress(): Promise<_InputAddress>; /** * wait for input name element to load * @return utam-lightning/pageObjects/inputName */ waitAndGetInputName(): Promise<_InputName>; getInput(): Promise<_Input | null>; getInputAddress(): Promise<_InputAddress | null>; getInputLocation(): Promise<_InputLocation | null>; getInputName(): Promise<_InputName | null>; getInputRichText(): Promise<_InputRichText | null>; getPicklist(): Promise<_Picklist | null>; getQuill(): Promise<_Quill | null>; getTextArea(): Promise<_Textarea | null>; getLookup(): Promise<_Lookup | null>; }