public void WhenILoginInUsingMyAndValues(string userNameKey, string passwordKey) { try { var userNameValue = ConfigManager.Common[$"{userNameKey}"]; var passwordValue = ConfigManager.Common[$"{passwordKey}"]; _loginPage.SetEmail(userNameValue); _loginPage.SetPassword(passwordValue); } catch (Exception e) { throw new NotImplementedException(userNameKey + " or" + passwordKey + " passwordKey" + " has incorect value"); } _loginPage.ClickLogInButton(); }