/** * 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'; import _AppNavBarItemDropdown from 'salesforce-pageobjects/global/pageObjects/appNavBarItemDropdown'; /** * Selector: one-app-nav-bar-item-root. * Represents the one-app-nav-bar-item-root Lightning web component. * Access the item text, the item link, or the dropdown. Click the item and wait for a specific URL match. * generated from JSON dist/global/appNavBarItemRoot.utam.json * @version 2026-03-09T13:56:35.917Z * @author Salesforce */ export default class AppNavBarItemRoot extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Gets the item text, the item link, or the dropdown * @return the item text, the item link, or the dropdown */ getItemText(): Promise; /** * Clicks the item and waits for a specific URL match * @return none */ clickAndWaitForUrl(url: string): Promise; getRoot(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getItemLink(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getDropdown(): Promise<_AppNavBarItemDropdown>; }