/** * 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 _AgenticRecordForm from 'salesforce-pageobjects/setup/pageObjects/agenticRecordForm'; import _RecordForm from 'salesforce-pageobjects/setup/pageObjects/recordForm'; /** * Component that wraps setup-record-form and setup-agentic-record-form. * Renders setup-record-form when Enhanced Agent for Setup beta is disabled and setup-agentic-record-form when enabled. * Selector: setup-record-form-output * generated from JSON dist/setup/recordFormOutput.utam.json * @version 2026-03-09T13:56:37.032Z * @author Salesforce */ export default class RecordFormOutput extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if agentic record form is present and visible (beta enabled) * @return boolean */ isAgenticRecordFormVisible(): Promise; /** * Check if standard record form is present and visible (beta disabled) * @return boolean */ isRecordFormVisible(): Promise; /** * Returns true if element "agenticRecordForm" is present on the page * @return boolean */ verifyAgenticRecordFormPresence(): Promise; /** * Returns true if element "recordForm" is present on the page * @return boolean */ verifyRecordFormPresence(): Promise; waitForAgenticRecordForm(): Promise<_AgenticRecordForm>; waitForRecordForm(): Promise<_RecordForm>; /** * Represents the agentic record form component rendered when beta feature is enabled */ getAgenticRecordForm(): Promise<_AgenticRecordForm | null>; /** * Represents the standard record form component rendered when beta feature is disabled */ getRecordForm(): Promise<_RecordForm | null>; }