public string AddNewFolder(string folderName) { WaitUntilExist(MailFrame); Browser.SwitchTo().Frame(MailFrame); NavigateToConfiguration(); WaitUntilExist(SettingsButtonFolderManagement); SettingsButtonFolderManagement.Click(); WaitUntilExist(SettingsButtonAdd); SettingsButtonAdd.Click(); WaitUntilExist(PreferencesFrame); Browser.SwitchTo().Frame(PreferencesFrame); FolderNameInput.SendKeys(folderName); ButtonSave.Click(); Browser.SwitchTo().ParentFrame(); HomeButton.Click(); IsPageLoaded(); return(FolderList.Text); }
//button save public DeliveryAddressPage ClickButtonSave() { ButtonSave.Click(); return(new DeliveryAddressPage()); }
public void SaveSetting() { ButtonSave.Click(); }