public class ContentViewElement extends WebFragmentImpl
Modifier and Type | Class and Description |
---|---|
static class |
ContentViewElement.ResultLayout |
driver, element
Constructor and Description |
---|
ContentViewElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element) |
checkTextToBeNotPresent, checkTextToBePresent, clear, click, containsText, findElement, findElements, getAttribute, getCssValue, getElement, getId, getLocation, getSize, getTagName, getText, getWebFragment, getWebFragment, isDisplayed, isEnabled, isSelected, sendKeys, setElement, submit, waitForTextToBePresent
public ContentViewElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element)
protected ContentViewElement reload(String id)
public ContentViewUpperActions getUpperActions()
public ContentViewSelectionActions getSelectionActions()
public PageNavigationControls getPaginationControls()
protected org.openqa.selenium.WebElement getFilterInput()
protected org.openqa.selenium.WebElement getFilterButton()
protected org.openqa.selenium.WebElement getClearFilterButton()
protected String getContentViewId()
protected String getContentViewType()
protected org.openqa.selenium.WebElement getResultsPanel()
public org.openqa.selenium.WebElement getActionByTitle(String title)
public ContentViewElement switchToResultLayout(ContentViewElement.ResultLayout layout)
public <T extends DocumentBasePage> ContentViewElement navigation(Function<PageNavigationControls,T> nav)
ContentViewElement
.public org.openqa.selenium.WebElement getItemWithTitleAndVersion(String title, String version)
public void clickOnItemTitle(String title)
public void clickOnItemTitleAndVersion(String title, String version)
public void clickOnItemIndex(int index)
public ContentViewElement filterDocument(String filter)
filter
- the string to filterpublic ContentViewElement clearFilter()
@Deprecated public ContentViewElement checkByTitle(String... titles)
selectByTitle(String...)
instead.public ContentViewSelectionActions selectByTitle(String... titles)
public ContentViewElement unselectByTitle(String... titles)
@Deprecated public ContentViewElement checkByIndex(int... indexes)
selectByIndex(int...)
/unselectByIndex(int...)
instead.public ContentViewSelectionActions selectByIndex(int... indexes)
public ContentViewElement unselectByIndex(int... indexes)
@Deprecated public ContentViewElement checkAllItems()
selectAll()
/unselectAll()
instead.public ContentViewSelectionActions selectAll()
public ContentViewElement unselectAll()
selectAll()
.@Deprecated public org.openqa.selenium.WebElement getSelectionActionByTitle(String title)
getUpperActions()
then
ContentViewUpperActions.getActionByTitle(String)
instead. Or use select methods directly.public ContentViewElement.ResultLayout getResultLayout()
Copyright © 2017 Nuxeo. All rights reserved.