public interface PopupMenu
| Modifier and Type | Method and Description |
|---|---|
void |
selectItem(ChoicePicker picker)
Selects the menu item according to the rules defined in the
picker param. |
void |
selectItem(ChoicePicker picker,
org.openqa.selenium.WebElement target)
Selects the menu item according to the rules defined in the
picker param. |
void |
selectItem(int index)
Selects the menu item according to its index in the list of all menu items.
|
void |
selectItem(int index,
org.openqa.selenium.WebElement target)
Selects the menu item according to its index in the list of all menu items.
|
void |
selectItem(String header)
Selects the menu item according to the exact match of its text representation with passed
header param. |
void |
selectItem(String header,
org.openqa.selenium.WebElement target)
Selects the menu item according to the exact match of its text representation with passed
header param. |
void selectItem(ChoicePicker picker)
picker param.picker - for defining the rules by which the item will be selectedIllegalArgumentException - if there is no such element which satisfies the rules given by pickervoid selectItem(String header)
header param.header - text representation of the menu item to be selectedIllegalArgumentException - if there is no such element with text representation matching the given textvoid selectItem(int index)
index - zero based index of the item to be selectedIllegalArgumentException - if there is no such element with index indexvoid selectItem(ChoicePicker picker, org.openqa.selenium.WebElement target)
picker param.picker - for defining the rules by which the item will be selectedtarget - for defining the popup menu which will be invoked and from which the item will be selectedIllegalArgumentException - if there is no such element which satisfies the rules given by pickervoid selectItem(String header, org.openqa.selenium.WebElement target)
header param.header - text representation of the menu item to be selectedtarget - for defining the popup menu which will be invoked and from which the item will be selectedIllegalArgumentException - if there is no such element with text representation matching the given textvoid selectItem(int index,
org.openqa.selenium.WebElement target)
index - zero based index of the item to be selectedtarget - for defining the popup menu which will be invoked and from which the item will be selectedIllegalArgumentException - if there is no such element with index indexCopyright © 2014 JBoss by Red Hat. All Rights Reserved.