Example #1
0
        public WebDriverResponse Get(ElementNameRequest request)
        {
            var session = _sessionRepository.GetById(request.SessionId);
            var name    = _automationService.GetElementName(session, request.ElementId);

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