예제 #1
0
        public SelectmenuPage ChooseSpeed(string choice)
        {
            SelectmenuFields v = SelectmenuFields.speed;

            SelectmenuSpeed.ClickOnElement();
            Driver.GetElementByXpath(Format(ChooseMenu, SelectmenuFields.speed.ToString(), choice)).ClickOnElement();
            return(this);
        }
예제 #2
0
 private IWebElement GetElementByFieldName(SelectmenuFields field) => Driver.GetElementByXpath(Format(SelectmenuLocator, field.ToString()));