public GamesPage Games(Test_2 gameType) { Log(LogType.Info, $"Open pagewith list of games", null, null); var element = GetDropDownElement(GamesDiv, string.Format(GamesA, LocalisationKeeper.Get(gameType, pageSettings.Language))); element.Click(); return(new GamesPage(settings.Browser, pageSettings.verificationData, pageSettings.Timeout, pageSettings.Language, LocalisationKeeper.Get(gameType, pageSettings.Language), pageSettings.PathToLogFile)); }
public static string Get(Test_2 param, Language ln) { return(LocalisationForTest_2[param][ln]); }