public class MenuBarElement
extends com.vaadin.testbench.TestBenchElement
<vaadin-menu-bar>
element.| Constructor and Description |
|---|
MenuBarElement() |
| Modifier and Type | Method and Description |
|---|---|
List<com.vaadin.testbench.TestBenchElement> |
getButtons()
Gets the button elements wrapping the root level items.
|
com.vaadin.testbench.TestBenchElement |
getOverflowButton()
Gets the button which opens the sub menu of overflowing items, or
null if the overflow button is not visible. |
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElementspublic List<com.vaadin.testbench.TestBenchElement> getButtons()
public com.vaadin.testbench.TestBenchElement getOverflowButton()
null if the overflow button is not visible.Copyright © 2019 Vaadin Ltd. All rights reserved.