/** * 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, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; /** * Selector: .uiMenuItem. * Represents the ui:menuItem Aura component. * Select an item, select an item by title, or get a menu item's text. * generated from JSON dist/aura/menuItem.utam.json * @version 2026-03-09T13:56:35.010Z * @author Salesforce */ export default class MenuItem extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Clicks the menu item */ selectItem(): Promise; /** * Clicks the menu item with the given title */ selectItemByTitle(text: string): Promise; /** * Gets the text of the menu item */ getMenuItemText(): Promise; getItem(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; }