Example #1
0
 @Override
 public void EnterWebFrame(SeleniumCommands commands) {
   ((ByWebElement) commands).enterWebFrameByWebElement(element);
 }
Example #2
0
 @Override
 public void ComboBoxRandom(SeleniumCommands commands) {
   ((ByWebElement) commands).comboBoxRandomByWebElement(element);
 }
Example #3
0
 @Override
 public void WaitForElement(SeleniumCommands commands) {
   ((ByWebElement) commands).waitForWebElement(element);
 }
Example #4
0
 @Override
 public void ComboBoxIndex(int index, SeleniumCommands commands) {
   if (index < 0) throw new IllegalArgumentException("Index must be greater then 0");
   ((ByWebElement) commands).comboBoxIndexByWebElement(index, element);
 }
Example #5
0
 @Override
 public void ComboBoxText(String visibleText, SeleniumCommands commands) {
   ((ByWebElement) commands).comboBoxVisibleTextByWebElement(visibleText, element);
 }
Example #6
0
 @Override
 public void Type(String input, SeleniumCommands commands) {
   ((ByWebElement) commands).typeByWebElement(input, element);
 }
Example #7
0
 @Override
 public void CheckBox(boolean selected, SeleniumCommands commands) {
   ((ByWebElement) commands).checkBoxByWebElement(selected, element);
 }
Example #8
0
 @Override
 public void ClickRandom(SeleniumCommands commands) {
   ((ByWebElement) commands).clickRandomElementByWebElement(elements);
 }