public void ClickAddBankAccountButton() { WebElementHelper.WaitUntilElementClickable(_webDriver, _addBankAccountButtonByXPath); WebElementHelper.ClickAndWaitForPageToLoad(_webDriver, _addBankAccountButtonByXPath); }
public void SelectBankName(string bankName) { By elementLocator; // TODO support other banks switch (bankName) { case "ANZ(NZ)": elementLocator = _anzDropdownByXPath; break; default: throw new NotSupportedException("not supported bank: <null>"); } WebElementHelper.WaitUntilElementClickable(_webDriver, elementLocator); WebElementHelper.ClickAndWaitForPageToLoad(_webDriver, elementLocator); }
public void ClickSubmitButton() { WebElementHelper.WaitUntilElementVisible(_webDriver, _continueButtonById); WebElementHelper.WaitUntilElementClickable(_webDriver, _continueButtonById); WebElementHelper.ClickAndWaitForPageToLoad(_webDriver, _continueButtonById); }
public void ClickBankAccountsSubMenu() { WebElementHelper.ClickAndWaitForPageToLoad(_webDriver, By.XPath(@"//a[@data-name=""navigation-menu/accounting/bank-accounts""]")); }
public void ClickSubmitButton() { WebElementHelper.ClickAndWaitForPageToLoad(_webDriver, _submitButtonById); }