{"action":"created","issue":{"url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/189","labels_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/189/comments","events_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/189/events","html_url":"https://github.com/jeanphix/Ghost.py/issues/189","id":48994168,"number":189,"title":"Ghost' object has no attribute 'open' ","user":{"login":"DreamFlyHigh","id":6829358,"avatar_url":"https://avatars.githubusercontent.com/u/6829358?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamFlyHigh","html_url":"https://github.com/DreamFlyHigh","followers_url":"https://api.github.com/users/DreamFlyHigh/followers","following_url":"https://api.github.com/users/DreamFlyHigh/following{/other_user}","gists_url":"https://api.github.com/users/DreamFlyHigh/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamFlyHigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamFlyHigh/subscriptions","organizations_url":"https://api.github.com/users/DreamFlyHigh/orgs","repos_url":"https://api.github.com/users/DreamFlyHigh/repos","events_url":"https://api.github.com/users/DreamFlyHigh/events{/privacy}","received_events_url":"https://api.github.com/users/DreamFlyHigh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-16T15:54:58Z","updated_at":"2015-01-07T12:00:37Z","closed_at":"2014-12-10T19:00:28Z","body":"RT"},"comment":{"url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/comments/69012977","html_url":"https://github.com/jeanphix/Ghost.py/issues/189#issuecomment-69012977","issue_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/189","id":69012977,"user":{"login":"shekspir55","id":8617379,"avatar_url":"https://avatars.githubusercontent.com/u/8617379?v=3","gravatar_id":"","url":"https://api.github.com/users/shekspir55","html_url":"https://github.com/shekspir55","followers_url":"https://api.github.com/users/shekspir55/followers","following_url":"https://api.github.com/users/shekspir55/following{/other_user}","gists_url":"https://api.github.com/users/shekspir55/gists{/gist_id}","starred_url":"https://api.github.com/users/shekspir55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shekspir55/subscriptions","organizations_url":"https://api.github.com/users/shekspir55/orgs","repos_url":"https://api.github.com/users/shekspir55/repos","events_url":"https://api.github.com/users/shekspir55/events{/privacy}","received_events_url":"https://api.github.com/users/shekspir55/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T12:00:37Z","updated_at":"2015-01-07T12:00:37Z","body":"from ghost import Ghost\r\nurl = \"http://www.ebay.com/\"\r\ngh = Ghost()\r\n# We load the main page of ebay\r\npage, resources = gh.open(url, wait_onload_event=True)\r\n# Full the main bar and click on the search button\r\ngh.set_field_value(\"#gh-ac\", \"plane\")\r\ngh.click(\"#gh-btn\")\r\n# Wait for the next page\r\ngh.wait_for_selector(\"#e1-15\")\r\n# Save the image of the screen\r\ngh.capture_to(\"plane.png\")\r\n\r\n\r\n\r\nfrom here -->http://ghostpy.readthedocs.org/en/latest/#examples"}}