Exemplo n.º 1
0
        public WebDriverResponse Post(MoveToRequest request)
        {
            var session = _sessionRepository.GetById(request.SessionId);

            _automationService.MoveTo(session, request.Element, request.XOffset, request.YOffset);
            return(new WebDriverResponse(session)
            {
                Status = StatusCode.Success
            });
        }