{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/28264","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/28264/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/28264/comments","events_url":"https://api.github.com/repos/rails/rails/issues/28264/events","html_url":"https://github.com/rails/rails/pull/28264","id":211701995,"number":28264,"title":"Do not take screenshot if driver does not support screenshot","user":{"login":"y-yagi","id":987638,"avatar_url":"https://avatars2.githubusercontent.com/u/987638?v=3","gravatar_id":"","url":"https://api.github.com/users/y-yagi","html_url":"https://github.com/y-yagi","followers_url":"https://api.github.com/users/y-yagi/followers","following_url":"https://api.github.com/users/y-yagi/following{/other_user}","gists_url":"https://api.github.com/users/y-yagi/gists{/gist_id}","starred_url":"https://api.github.com/users/y-yagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y-yagi/subscriptions","organizations_url":"https://api.github.com/users/y-yagi/orgs","repos_url":"https://api.github.com/users/y-yagi/repos","events_url":"https://api.github.com/users/y-yagi/events{/privacy}","received_events_url":"https://api.github.com/users/y-yagi/received_events","type":"User","site_admin":false},"labels":[{"id":107189,"url":"https://api.github.com/repos/rails/rails/labels/actionpack","name":"actionpack","color":"FFF700","default":false}],"state":"closed","locked":false,"assignee":{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars3.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":true},"assignees":[{"login":"eileencodes","id":1080678,"avatar_url":"https://avatars3.githubusercontent.com/u/1080678?v=3","gravatar_id":"","url":"https://api.github.com/users/eileencodes","html_url":"https://github.com/eileencodes","followers_url":"https://api.github.com/users/eileencodes/followers","following_url":"https://api.github.com/users/eileencodes/following{/other_user}","gists_url":"https://api.github.com/users/eileencodes/gists{/gist_id}","starred_url":"https://api.github.com/users/eileencodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileencodes/subscriptions","organizations_url":"https://api.github.com/users/eileencodes/orgs","repos_url":"https://api.github.com/users/eileencodes/repos","events_url":"https://api.github.com/users/eileencodes/events{/privacy}","received_events_url":"https://api.github.com/users/eileencodes/received_events","type":"User","site_admin":true}],"milestone":{"url":"https://api.github.com/repos/rails/rails/milestones/49","html_url":"https://github.com/rails/rails/milestone/49","labels_url":"https://api.github.com/repos/rails/rails/milestones/49/labels","id":1601639,"number":49,"title":"5.1.0","description":"","creator":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars0.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":59,"state":"open","created_at":"2016-02-24T03:19:34Z","updated_at":"2017-03-07T20:27:59Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2017-03-03T14:27:33Z","updated_at":"2017-03-09T10:09:22Z","closed_at":"2017-03-05T14:17:08Z","pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/28264","html_url":"https://github.com/rails/rails/pull/28264","diff_url":"https://github.com/rails/rails/pull/28264.diff","patch_url":"https://github.com/rails/rails/pull/28264.patch"},"body":"`Capybara::RackTest::Driver` does not support taking screenshots. If call\r\n`#save_screenshot` on `Capybara::RackTest::Driver` will raise the error.\r\n\r\n```ruby\r\nError:\r\nUsersTest#test_visiting_the_index:\r\nCapybara::NotSupportedByDriverError: Capybara::Driver::Base#save_screenshot\r\n```\r\n\r\nTo prevent errors, if driver does not support screenshot, do not call it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/285309947","html_url":"https://github.com/rails/rails/pull/28264#issuecomment-285309947","issue_url":"https://api.github.com/repos/rails/rails/issues/28264","id":285309947,"user":{"login":"renchap","id":42070,"avatar_url":"https://avatars0.githubusercontent.com/u/42070?v=3","gravatar_id":"","url":"https://api.github.com/users/renchap","html_url":"https://github.com/renchap","followers_url":"https://api.github.com/users/renchap/followers","following_url":"https://api.github.com/users/renchap/following{/other_user}","gists_url":"https://api.github.com/users/renchap/gists{/gist_id}","starred_url":"https://api.github.com/users/renchap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renchap/subscriptions","organizations_url":"https://api.github.com/users/renchap/orgs","repos_url":"https://api.github.com/users/renchap/repos","events_url":"https://api.github.com/users/renchap/events{/privacy}","received_events_url":"https://api.github.com/users/renchap/received_events","type":"User","site_admin":false},"created_at":"2017-03-09T10:09:22Z","updated_at":"2017-03-09T10:09:22Z","body":"This does not work when using Poltergeist, `supports_screenshot?` returns false but the driver definitely supports screenshots, as `take_screenshot` works fine."}}
{"actor":{"display_login":"renchap"}}