{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/snapshot/issues/48","labels_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/48/comments","events_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/48/events","html_url":"https://github.com/KrauseFx/snapshot/issues/48","id":55458735,"number":48,"title":"No idea how to proceed.","user":{"login":"i0sdev","id":4564129,"avatar_url":"https://avatars.githubusercontent.com/u/4564129?v=3","gravatar_id":"","url":"https://api.github.com/users/i0sdev","html_url":"https://github.com/i0sdev","followers_url":"https://api.github.com/users/i0sdev/followers","following_url":"https://api.github.com/users/i0sdev/following{/other_user}","gists_url":"https://api.github.com/users/i0sdev/gists{/gist_id}","starred_url":"https://api.github.com/users/i0sdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i0sdev/subscriptions","organizations_url":"https://api.github.com/users/i0sdev/orgs","repos_url":"https://api.github.com/users/i0sdev/repos","events_url":"https://api.github.com/users/i0sdev/events{/privacy}","received_events_url":"https://api.github.com/users/i0sdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-26T08:53:51Z","updated_at":"2015-01-26T18:01:37Z","closed_at":null,"body":"1. `Copy the generated code into ./snapshot.js` in **Quick Start**\r\nWhat is the code? Didn't find it. After run `snapshot init`, below default shows up in `snapshot.js`\r\n```\r\n#import \"SnapshotHelper.js\"\r\nvar target = UIATarget.localTarget();\r\nvar app = target.frontMostApp();\r\nvar window = app.mainWindow();\r\ntarget.delay(3)\r\ncaptureLocalizedScreenshot(\"0-LandingScreen\")\r\ntarget.frontMostApp().tabBar().buttons()[1].tap();\r\ntarget.delay(1)\r\ncaptureLocalizedScreenshot(\"1-SecondScreen\")\r\n```\r\n2. localisation doesn't work correctly. \r\nUsing `Localizable.strings` files, including English / Japanese languages, English is fine. But when Japanese, it show some of titles/labels are Japanese, others are still English.\r\n\r\n3. Is only the first screen captured?\r\nHow to capture arbitrary screen, like the 1st, 3rd, which I could appoint.\r\n\r\n4. lots of errors.\r\nWhen finished, lots of below errors.\r\n`ERROR [2015-01-26 17:01:11.62]: UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from targ - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().bu - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().bu - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().bu - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().bu - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().bu - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().bu - UIAutomation Error: Script threw an uncaught JavaScript error: Cannot perform action on invalid element: UIAElementNil from target.frontMostApp().tabBar().buttons()[1] on line 11 of snapshot.js\r\nERROR [2015-01-26 17:01:11.62]: -----------------------------------------------------------\r\nerror: Finished generating 8 screenshots with 8 errors.. Use --trace to view backtrace`"},"comment":{"url":"https://api.github.com/repos/KrauseFx/snapshot/issues/comments/71506172","html_url":"https://github.com/KrauseFx/snapshot/issues/48#issuecomment-71506172","issue_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/48","id":71506172,"user":{"login":"i0sdev","id":4564129,"avatar_url":"https://avatars.githubusercontent.com/u/4564129?v=3","gravatar_id":"","url":"https://api.github.com/users/i0sdev","html_url":"https://github.com/i0sdev","followers_url":"https://api.github.com/users/i0sdev/followers","following_url":"https://api.github.com/users/i0sdev/following{/other_user}","gists_url":"https://api.github.com/users/i0sdev/gists{/gist_id}","starred_url":"https://api.github.com/users/i0sdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i0sdev/subscriptions","organizations_url":"https://api.github.com/users/i0sdev/orgs","repos_url":"https://api.github.com/users/i0sdev/repos","events_url":"https://api.github.com/users/i0sdev/events{/privacy}","received_events_url":"https://api.github.com/users/i0sdev/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T18:01:37Z","updated_at":"2015-01-26T18:01:37Z","body":"I followed **Quick Start** part in README. After `Automation` is clicked, only `var target = UIATarget.localTarget();` in the Instrument window. Is this code to replace the default content in the `snapshot.js`?"}}