public class Control extends Object
| Constructor and Description |
|---|
Control(Page parentValue,
org.openqa.selenium.By locatorValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubItems(SubItem[] items) |
void |
click() |
<T extends Page> |
click(Class<T> pageClass) |
boolean |
disabled() |
boolean |
disabled(long timeout) |
boolean |
disappears() |
boolean |
disappears(long timeout) |
org.openqa.selenium.WebElement |
element() |
org.openqa.selenium.WebElement |
element(int index) |
boolean |
enabled() |
boolean |
enabled(long timeout) |
boolean |
exists() |
boolean |
exists(long timeout) |
org.openqa.selenium.WebDriver |
getDriver() |
String |
getFormat() |
String |
getItemLocatorText() |
org.openqa.selenium.By |
getLocator() |
String |
getLocatorText() |
Page |
getParent() |
Rectangle |
getRect() |
ScrollTo |
getScrollDirection() |
String |
getScrollTo() |
HashMap<String,SubItem> |
getSubItemsMap() |
String |
getText() |
String |
getValue() |
boolean |
invisible() |
boolean |
invisible(long timeout) |
boolean |
isExcludeFromSearch() |
void |
scrollTo() |
void |
setExcludeFromSearch(boolean excludeFromSearchValue) |
void |
setFormat(String formatValue) |
void |
setItemLocatorText(String subItemLocatorText) |
void |
setScrollDirection(ScrollTo scrollDirectionValue) |
void |
setScrollTo(String scrollToValue) |
boolean |
visible() |
boolean |
visible(long timeout) |
boolean |
waitUntil(org.openqa.selenium.support.ui.ExpectedCondition<?> condition,
long timeout) |
public Control(Page parentValue, org.openqa.selenium.By locatorValue)
public org.openqa.selenium.WebDriver getDriver()
public Page getParent()
public org.openqa.selenium.By getLocator()
public String getLocatorText()
public String getItemLocatorText()
public void setItemLocatorText(String subItemLocatorText)
public String getScrollTo()
public void setScrollTo(String scrollToValue)
public ScrollTo getScrollDirection()
public void setScrollDirection(ScrollTo scrollDirectionValue)
public String getFormat()
public void setFormat(String formatValue)
public boolean isExcludeFromSearch()
public void setExcludeFromSearch(boolean excludeFromSearchValue)
public void addSubItems(SubItem[] items)
public org.openqa.selenium.WebElement element()
public org.openqa.selenium.WebElement element(int index)
public boolean waitUntil(org.openqa.selenium.support.ui.ExpectedCondition<?> condition,
long timeout)
public boolean exists(long timeout)
public boolean exists()
public boolean disappears(long timeout)
public boolean disappears()
public boolean visible(long timeout)
public boolean visible()
public boolean invisible(long timeout)
public boolean invisible()
public boolean enabled(long timeout)
public boolean enabled()
public boolean disabled(long timeout)
public boolean disabled()
public void click()
public String getText()
public String getValue()
public Rectangle getRect()
public void scrollTo()
Copyright © 2013-2018. All Rights Reserved.