Class Schedule
java.lang.Object
org.primefaces.selenium.AbstractPrimePageFragment
org.primefaces.selenium.component.base.AbstractComponent
org.primefaces.selenium.component.Schedule
- 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:schedule
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElement
org.openqa.selenium.WebElement
org.openqa.selenium.WebElement
org.openqa.selenium.WebElement
org.openqa.selenium.WebElement
void
Selects either a date or event or any other element in the schedule by its CSS class.void
update()
Updates and refreshes the schedule view refetching all eventsMethods 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAs
Methods inherited from interface org.openqa.selenium.WebElement
clear, click, findElement, findElements, getAccessibleName, getAriaRole, getAttribute, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, getText, isDisplayed, isEnabled, isSelected, sendKeys, submit
-
Constructor Details
-
Schedule
public Schedule()
-
-
Method Details
-
select
Selects either a date or event or any other element in the schedule by its CSS class.- Parameters:
cssClass
- the CSS class to select
-
update
public void update()Updates and refreshes the schedule view refetching all events -
getTodayButton
public org.openqa.selenium.WebElement getTodayButton() -
getMonthButton
public org.openqa.selenium.WebElement getMonthButton() -
getWeekButton
public org.openqa.selenium.WebElement getWeekButton() -
getDayButton
public org.openqa.selenium.WebElement getDayButton() -
getButton
-