{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/selenium-test/issues/37","labels_url":"https://api.github.com/repos/chrsmith/selenium-test/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/selenium-test/issues/37/comments","events_url":"https://api.github.com/repos/chrsmith/selenium-test/issues/37/events","html_url":"https://github.com/chrsmith/selenium-test/issues/37","id":54264368,"number":37,"title":"Add ability to download links","user":{"login":"chrsmith","id":4029847,"avatar_url":"https://avatars.githubusercontent.com/u/4029847?v=3","gravatar_id":"","url":"https://api.github.com/users/chrsmith","html_url":"https://github.com/chrsmith","followers_url":"https://api.github.com/users/chrsmith/followers","following_url":"https://api.github.com/users/chrsmith/following{/other_user}","gists_url":"https://api.github.com/users/chrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/chrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrsmith/subscriptions","organizations_url":"https://api.github.com/users/chrsmith/orgs","repos_url":"https://api.github.com/users/chrsmith/repos","events_url":"https://api.github.com/users/chrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/chrsmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/selenium-test/labels/Component-WebDriver","name":"Component-WebDriver","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/selenium-test/labels/Priority-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/selenium-test/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-13T23:33:57Z","updated_at":"2015-01-13T23:34:49Z","closed_at":null,"body":"Original [issue 95](https://code.google.com/p/selenium/issues/detail?id=95) created by chrsmith on 2008-09-15T11:32:13.000Z:\n\nEvery browser provides a 'Save Link As' or 'Save Target As' feature to\r\ndownload links as files.\r\n\r\nAdding the same feature to WebDriver would be especially useful because it\r\nwould enable testing of non-HTML output.\r\n\r\nFor example: dynamically generated PDFs could be tested by downloading them\r\nand then checking their content using e.g. PDFBox.\r\n\r\n  WebElement pdfLink = driver.findElement(...);\r\n  File pdfFile = new File(&quot;/path/to/output.pdf&quot;)\r\n  pdfLink.downloadTo(pdfFile);\r\n  ...\r\n\r\nRelated forum discussion:\r\nhttp://groups.google.com/group/webdriver/browse_thread/thread/8d4f1dfbd3d98050"},"comment":{"url":"https://api.github.com/repos/chrsmith/selenium-test/issues/comments/69843290","html_url":"https://github.com/chrsmith/selenium-test/issues/37#issuecomment-69843290","issue_url":"https://api.github.com/repos/chrsmith/selenium-test/issues/37","id":69843290,"user":{"login":"chrsmith","id":4029847,"avatar_url":"https://avatars.githubusercontent.com/u/4029847?v=3","gravatar_id":"","url":"https://api.github.com/users/chrsmith","html_url":"https://github.com/chrsmith","followers_url":"https://api.github.com/users/chrsmith/followers","following_url":"https://api.github.com/users/chrsmith/following{/other_user}","gists_url":"https://api.github.com/users/chrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/chrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrsmith/subscriptions","organizations_url":"https://api.github.com/users/chrsmith/orgs","repos_url":"https://api.github.com/users/chrsmith/repos","events_url":"https://api.github.com/users/chrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/chrsmith/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T23:34:49Z","updated_at":"2015-01-13T23:34:49Z","body":"Comment [#13](https://code.google.com/p/selenium/issues/detail?id=95#c13) originally posted by chrsmith on 2010-12-22T12:25:39.000Z:\n\nany news on this issue?\r\nThis is really blocking and autoit is not always a reliable option/workaround (eg on remote sessions running it fails sporadically).\r\n"}}