public SelectmenuPage ChooseSpeed(string choice) { SelectmenuFields v = SelectmenuFields.speed; SelectmenuSpeed.ClickOnElement(); Driver.GetElementByXpath(Format(ChooseMenu, SelectmenuFields.speed.ToString(), choice)).ClickOnElement(); return(this); }
private IWebElement GetElementByFieldName(SelectmenuFields field) => Driver.GetElementByXpath(Format(SelectmenuLocator, field.ToString()));