public WindowHandlesResponse Get(WindowHandlesRequest request) { var session = _sessionRepository.GetById(request.SessionId); var handles = _automationService.GetWindowHandles(session).ToArray(); return(new WindowHandlesResponse(session, handles)); }