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
public abstract class Menubar extends AbstractInputComponent
Component wrapper for the PrimeFacesp:menubar.
-
-
Constructor Summary
Constructors Constructor Description Menubar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElementfindMenuitemByValue(String value)org.openqa.selenium.WebElementfindMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value)booleanisToggleEventClick()booleanisToggleEventHover()org.openqa.selenium.WebElementselectMenuitemByValue(String value)Select L1 menuitemorg.openqa.selenium.WebElementselectMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value)Select L2+ menuitem-
Methods inherited from class org.primefaces.selenium.component.base.AbstractInputComponent
clear, copyToClipboard, disable, enable, getAssignedLabel, getAssignedLabelText, getInput, isEnabled, isOnchangeAjaxified, pasteFromClipboard, selectAllText
-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
destroy, getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
findMenuitemByValue
public org.openqa.selenium.WebElement findMenuitemByValue(String value)
-
findMenuitemByValue
public org.openqa.selenium.WebElement findMenuitemByValue(org.openqa.selenium.WebElement parentElt, String value)
-
selectMenuitemByValue
public org.openqa.selenium.WebElement selectMenuitemByValue(String value)
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()
-
-