public void PerformAction(Element element, DomAction action, int timeout) { try { string selectorValue = element.htmlSelector.selectorValue; string selectorType = Convert.ToString(element.htmlSelector.selectBy); string actionType = Convert.ToString(action.actionType); string actionSelect = Convert.ToString(action.actionSelectyBy); string actionValue = Convert.ToString(action.value); DomService.PerformAction(selectorValue, selectorType, actionValue, actionType, actionSelect); } catch (Exception) { } }