{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/450","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/450/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/450/events","html_url":"https://github.com/SeleniumHQ/selenium/pull/450","id":68160257,"number":450,"title":"Added Selenium.prototype.doCaptureScreenshot command to selenium-api.js","user":{"login":"paulbors","id":2027825,"avatar_url":"https://avatars.githubusercontent.com/u/2027825?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbors","html_url":"https://github.com/paulbors","followers_url":"https://api.github.com/users/paulbors/followers","following_url":"https://api.github.com/users/paulbors/following{/other_user}","gists_url":"https://api.github.com/users/paulbors/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbors/subscriptions","organizations_url":"https://api.github.com/users/paulbors/orgs","repos_url":"https://api.github.com/users/paulbors/repos","events_url":"https://api.github.com/users/paulbors/events{/privacy}","received_events_url":"https://api.github.com/users/paulbors/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/C-ide","name":"C-ide","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-13T18:17:06Z","updated_at":"2015-04-16T23:30:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/pulls/450","html_url":"https://github.com/SeleniumHQ/selenium/pull/450","diff_url":"https://github.com/SeleniumHQ/selenium/pull/450.diff","patch_url":"https://github.com/SeleniumHQ/selenium/pull/450.patch"},"body":"I see the captureScreenshot command in the RC but not in the IDE.\r\n\r\nThis modification to the selenium-api.js will expose the\r\ncaptureScreenshot command to the IDE by re-using the existing\r\ncaptureEntirePageScreenshot function whose kwargs now takes a new\r\nviewportOnly option"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/93861881","html_url":"https://github.com/SeleniumHQ/selenium/pull/450#issuecomment-93861881","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/450","id":93861881,"user":{"login":"samitbadle","id":718010,"avatar_url":"https://avatars.githubusercontent.com/u/718010?v=3","gravatar_id":"","url":"https://api.github.com/users/samitbadle","html_url":"https://github.com/samitbadle","followers_url":"https://api.github.com/users/samitbadle/followers","following_url":"https://api.github.com/users/samitbadle/following{/other_user}","gists_url":"https://api.github.com/users/samitbadle/gists{/gist_id}","starred_url":"https://api.github.com/users/samitbadle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samitbadle/subscriptions","organizations_url":"https://api.github.com/users/samitbadle/orgs","repos_url":"https://api.github.com/users/samitbadle/repos","events_url":"https://api.github.com/users/samitbadle/events{/privacy}","received_events_url":"https://api.github.com/users/samitbadle/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T23:30:11Z","updated_at":"2015-04-16T23:30:11Z","body":"Since you are changing selenium core and not IDE, you should put in a test for selenium core. Try using git grep command to see if you can find other core tests.\n\nYou should also add the documentation for the IDE.\n\n> On 14 Apr 2015, at 21:20, Paul Bors <notifications@github.com> wrote:\n> \n> Can someone point me in the way of writing the unit tests for the new function?\n> I'm very new to this project...\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}