public class JSListWidgetElement extends AbstractWidgetElement
Modifier and Type | Class and Description |
---|---|
static class |
JSListWidgetElement.Display |
driver, id
Constructor and Description |
---|
JSListWidgetElement(org.openqa.selenium.WebDriver driver,
String id) |
JSListWidgetElement(org.openqa.selenium.WebDriver driver,
String id,
JSListWidgetElement.Display display) |
Modifier and Type | Method and Description |
---|---|
void |
addNewElement() |
protected String |
getListSubElementSuffix(String subId,
int index) |
String |
getMessageValue()
Returns the message element value, e.g.
|
protected org.openqa.selenium.WebElement |
getRowActions(int i) |
List<org.openqa.selenium.WebElement> |
getRows() |
WidgetElement |
getSubWidget(String id,
int index) |
WidgetElement |
getSubWidget(String id,
int index,
boolean wait) |
<T> T |
getSubWidget(String id,
int index,
Class<T> widgetClassToProxy,
boolean wait) |
String |
getSubWidgetId(String id,
int index) |
String |
getSubWidgetId(String id,
int index,
boolean wait) |
String |
getSubWidgetMessageValue(String id,
int idx) |
String |
getSubWidgetMessageValue(String id,
int idx,
int msgIdx) |
void |
moveDownElement(int index) |
void |
moveUpElement(int index) |
void |
removeElement(int index) |
void |
waitForSubWidget(String id,
int index) |
getMessageValue, getWidgetId
getElement, getElement, getId, getSubElement, getSubElement, getSubElementId, getWebFragment, getWidget, getWidget, hasSubElement, instantiateWidget, setId, setInput, setInput, setInput
public JSListWidgetElement(org.openqa.selenium.WebDriver driver, String id)
public JSListWidgetElement(org.openqa.selenium.WebDriver driver, String id, JSListWidgetElement.Display display)
protected String getListSubElementSuffix(String subId, int index)
public void addNewElement()
public void removeElement(int index)
public void moveUpElement(int index)
public void moveDownElement(int index)
public void waitForSubWidget(String id, int index)
public WidgetElement getSubWidget(String id, int index)
public String getSubWidgetId(String id, int index)
public WidgetElement getSubWidget(String id, int index, boolean wait)
public String getSubWidgetId(String id, int index, boolean wait)
public <T> T getSubWidget(String id, int index, Class<T> widgetClassToProxy, boolean wait)
public String getMessageValue()
AbstractWidgetElement
getMessageValue
in class AbstractWidgetElement
protected org.openqa.selenium.WebElement getRowActions(int i)
public String getSubWidgetMessageValue(String id, int idx)
public String getSubWidgetMessageValue(String id, int idx, int msgIdx)
Copyright © 2017 Nuxeo. All rights reserved.