Class Menubar
java.lang.Object
org.primefaces.selenium.AbstractPrimePageFragment
org.primefaces.selenium.component.base.AbstractComponent
org.primefaces.selenium.component.base.AbstractInputComponent
org.primefaces.selenium.component.Menubar
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
Component wrapper for the PrimeFaces
p:menubar.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementfindMenuitemByValue(String value) org.openqa.selenium.WebElementfindMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value) booleanbooleanorg.openqa.selenium.WebElementselectMenuitemByValue(String value) Select L1 menuitemorg.openqa.selenium.WebElementselectMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value) Select L2+ menuitemMethods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, getInput, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllTextMethods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxifiedMethods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isSelected, sendKeys, submit
-
Constructor Details
-
Menubar
public Menubar()
-
-
Method Details
-
findMenuitemByValue
-
findMenuitemByValue
public org.openqa.selenium.WebElement findMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value) -
selectMenuitemByValue
Select L1 menuitem- Parameters:
value-- Returns:
-
selectMenuitemByValue
public org.openqa.selenium.WebElement selectMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value) Select L2+ menuitem- Parameters:
parentElt- parent menuitemvalue-- Returns:
-
isToggleEventHover
public boolean isToggleEventHover() -
isToggleEventClick
public boolean isToggleEventClick()
-