public void TypeOnSearchForm(string keyword, string location) { Actions.SwitchDriverToNewTab(driver); JavaScriptActions.VerifyPageCompleteStateJs(driver); Actions.Type(KeywordInput, keyword); Actions.Type(LocationInput, location); }
public void SelectLoginsMenuItem(string page) { if (page.Equals("UBS Safe")) { Actions.ClickOn(driver, UBSSafMenuItem); } else if (page.Equals("UBS Connect")) { Actions.ClickOn(driver, UBSConnectMenuItem); JavaScriptActions.VerifyPageCompleteStateJs(driver); } }