/// <summary> /// Select the city in the pin to city list /// </summary> /// <param name="city"></param> public void SelectCity(string city) { weatherPage.SearchBox().SendKeys(city); string isChecked = weatherPage.SelectCity(city).GetProperty("checked"); if (isChecked != "True") { weatherPage.SelectCity(city).Click(); } }