{"action":"created","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13981","repository_url":"https://api.github.com/repos/ariya/phantomjs","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13981/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13981/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13981/events","html_url":"https://github.com/ariya/phantomjs/pull/13981","id":131876615,"number":13981,"title":"Update 2000-01-01-quick-start.md - added trailing slash to example.com/ url","user":{"login":"justinlevi","id":1117989,"avatar_url":"https://avatars.githubusercontent.com/u/1117989?v=3","gravatar_id":"","url":"https://api.github.com/users/justinlevi","html_url":"https://github.com/justinlevi","followers_url":"https://api.github.com/users/justinlevi/followers","following_url":"https://api.github.com/users/justinlevi/following{/other_user}","gists_url":"https://api.github.com/users/justinlevi/gists{/gist_id}","starred_url":"https://api.github.com/users/justinlevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinlevi/subscriptions","organizations_url":"https://api.github.com/users/justinlevi/orgs","repos_url":"https://api.github.com/users/justinlevi/repos","events_url":"https://api.github.com/users/justinlevi/events{/privacy}","received_events_url":"https://api.github.com/users/justinlevi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-06T17:10:28Z","updated_at":"2016-02-10T04:31:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ariya/phantomjs/pulls/13981","html_url":"https://github.com/ariya/phantomjs/pull/13981","diff_url":"https://github.com/ariya/phantomjs/pull/13981.diff","patch_url":"https://github.com/ariya/phantomjs/pull/13981.patch"},"body":"I was trying to go through this quickstart and wasted a bunch of time trying to figure out why the simple example wasn't working for me. I entered `google.com` because the example uses `example.com`.\r\n\r\n```javascript\r\nvar page = require('webpage').create();\r\npage.open('http://google.com', function(status) {\r\n  console.log(\"Status: \" + status);\r\n  if(status === \"success\") {\r\n    page.render('google.png');\r\n  }\r\n  phantom.exit();\r\n});\r\n```\r\n\r\nI finally checked the screen-capture documentation : `http://phantomjs.org/screen-capture.html` and noticed that nearly the same example adds a trailing slash to the url. \r\n\r\n```javascript\r\nvar page = require('webpage').create();\r\npage.open('http://github.com/', function() {\r\n  page.render('github.png');\r\n  phantom.exit();\r\n});\r\n```\r\n\r\nHopefully this saves someone else a small headache. \r\n"},"comment":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/comments/182193482","html_url":"https://github.com/ariya/phantomjs/pull/13981#issuecomment-182193482","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/13981","id":182193482,"user":{"login":"ariya","id":7288,"avatar_url":"https://avatars.githubusercontent.com/u/7288?v=3","gravatar_id":"","url":"https://api.github.com/users/ariya","html_url":"https://github.com/ariya","followers_url":"https://api.github.com/users/ariya/followers","following_url":"https://api.github.com/users/ariya/following{/other_user}","gists_url":"https://api.github.com/users/ariya/gists{/gist_id}","starred_url":"https://api.github.com/users/ariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariya/subscriptions","organizations_url":"https://api.github.com/users/ariya/orgs","repos_url":"https://api.github.com/users/ariya/repos","events_url":"https://api.github.com/users/ariya/events{/privacy}","received_events_url":"https://api.github.com/users/ariya/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T04:31:49Z","updated_at":"2016-02-10T04:31:49Z","body":"The trailing backslash should not be necessary. I can't reproduce the problem at all.\r\nCould you give a detailed info about your system etc?"}}