{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/16","repository_url":"https://api.github.com/repos/Microsoft/WinAppDriver","labels_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/16/comments","events_url":"https://api.github.com/repos/Microsoft/WinAppDriver/issues/16/events","html_url":"https://github.com/Microsoft/WinAppDriver/issues/16","id":150653753,"number":16,"title":"Snapshot captures about 1/4 of application  window","user":{"login":"denys-rwd","id":18639833,"avatar_url":"https://avatars.githubusercontent.com/u/18639833?v=3","gravatar_id":"","url":"https://api.github.com/users/denys-rwd","html_url":"https://github.com/denys-rwd","followers_url":"https://api.github.com/users/denys-rwd/followers","following_url":"https://api.github.com/users/denys-rwd/following{/other_user}","gists_url":"https://api.github.com/users/denys-rwd/gists{/gist_id}","starred_url":"https://api.github.com/users/denys-rwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denys-rwd/subscriptions","organizations_url":"https://api.github.com/users/denys-rwd/orgs","repos_url":"https://api.github.com/users/denys-rwd/repos","events_url":"https://api.github.com/users/denys-rwd/events{/privacy}","received_events_url":"https://api.github.com/users/denys-rwd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"paulcam206","id":16614499,"avatar_url":"https://avatars.githubusercontent.com/u/16614499?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcam206","html_url":"https://github.com/paulcam206","followers_url":"https://api.github.com/users/paulcam206/followers","following_url":"https://api.github.com/users/paulcam206/following{/other_user}","gists_url":"https://api.github.com/users/paulcam206/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcam206/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcam206/subscriptions","organizations_url":"https://api.github.com/users/paulcam206/orgs","repos_url":"https://api.github.com/users/paulcam206/repos","events_url":"https://api.github.com/users/paulcam206/events{/privacy}","received_events_url":"https://api.github.com/users/paulcam206/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-24T11:32:10Z","updated_at":"2016-05-09T21:31:49Z","closed_at":"2016-05-09T21:31:49Z","body":"Hi,\r\n\r\nBackground: Running application. \r\nForeground: Snapshot (via Selenium).\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/18639833/14767218/03c78008-0a29-11e6-848e-29c324a87a27.PNG)\r\n\r\nScript:\r\n\r\nDesiredCapabilities capabilities = new DesiredCapabilities();\r\n            capabilities.setCapability(\"app\", \"Microsoft.Windows.Photos_8wekyb3d8bbwe!App\");\r\n\r\n            rwd = new RemoteWebDriver(new URL(\"http://XXX.30.201.YYY:4723\"), capabilities);\r\n            WebDriver augmentedDriver = new Augmenter().augment(rwd);\r\n            File screenshot = ((TakesScreenshot)augmentedDriver).getScreenshotAs(OutputType.FILE);\r\n\r\n            //Close the browser\r\n            Path destPath = Paths.get(\"C:\\\\Root\\\\selenium\\\\reports\\\\\").resolve(\"Windows.Photos.png\");\r\n            com.google.common.io.Files.copy(screenshot, destPath.toFile());\r\n\r\nIn addition, although selenium script has already   brought snapshot, WinAppDriver continues to print a lot of data on console and that takes about 2.5 minutes. Eventually, it finishes the command.\r\n\r\n\r\n![capture2](https://cloud.githubusercontent.com/assets/18639833/14767321/439c61ba-0a2b-11e6-950b-9854aa08099c.PNG)\r\n\r\nThanks in advance,\r\nDenys"}}