@Override public void EnterWebFrame(SeleniumCommands commands) { ((ByWebElement) commands).enterWebFrameByWebElement(element); }
@Override public void ComboBoxRandom(SeleniumCommands commands) { ((ByWebElement) commands).comboBoxRandomByWebElement(element); }
@Override public void WaitForElement(SeleniumCommands commands) { ((ByWebElement) commands).waitForWebElement(element); }
@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); }
@Override public void ComboBoxText(String visibleText, SeleniumCommands commands) { ((ByWebElement) commands).comboBoxVisibleTextByWebElement(visibleText, element); }
@Override public void Type(String input, SeleniumCommands commands) { ((ByWebElement) commands).typeByWebElement(input, element); }
@Override public void CheckBox(boolean selected, SeleniumCommands commands) { ((ByWebElement) commands).checkBoxByWebElement(selected, element); }
@Override public void ClickRandom(SeleniumCommands commands) { ((ByWebElement) commands).clickRandomElementByWebElement(elements); }