示例#1
0
        public WebDriverResponse Get(ElementAttributeRequest request)
        {
            var session = _sessionRepository.GetById(request.SessionId);
            var value   = _automationService.GetElementAttribute(session, request.ElementId, request.Name);

            return(new WebDriverResponse(session)
            {
                Status = StatusCode.Success, Value = value
            });
        }