{"action":"created","issue":{"url":"https://api.github.com/repos/TestStack/TestStack.Seleno/issues/185","repository_url":"https://api.github.com/repos/TestStack/TestStack.Seleno","labels_url":"https://api.github.com/repos/TestStack/TestStack.Seleno/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/TestStack/TestStack.Seleno/issues/185/comments","events_url":"https://api.github.com/repos/TestStack/TestStack.Seleno/issues/185/events","html_url":"https://github.com/TestStack/TestStack.Seleno/pull/185","id":47651481,"number":185,"title":"Context file camera","user":{"login":"dennisroche","id":4949392,"avatar_url":"https://avatars1.githubusercontent.com/u/4949392?v=4","gravatar_id":"","url":"https://api.github.com/users/dennisroche","html_url":"https://github.com/dennisroche","followers_url":"https://api.github.com/users/dennisroche/followers","following_url":"https://api.github.com/users/dennisroche/following{/other_user}","gists_url":"https://api.github.com/users/dennisroche/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisroche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisroche/subscriptions","organizations_url":"https://api.github.com/users/dennisroche/orgs","repos_url":"https://api.github.com/users/dennisroche/repos","events_url":"https://api.github.com/users/dennisroche/events{/privacy}","received_events_url":"https://api.github.com/users/dennisroche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2014-11-03T22:09:19Z","updated_at":"2018-02-19T14:58:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/TestStack/TestStack.Seleno/pulls/185","html_url":"https://github.com/TestStack/TestStack.Seleno/pull/185","diff_url":"https://github.com/TestStack/TestStack.Seleno/pull/185.diff","patch_url":"https://github.com/TestStack/TestStack.Seleno/pull/185.patch"},"body":"A new file camera that bakes additional/contextual information into the image. I found this additional information useful when debugging why a test failed and where in the callstack the image was generated.\n\nTo make this information even more useful, I added `Exception` param to the `ICamera.TakeScreenshot` interface. It defaults to `null`.\n\n**Example**\n\n![elementfinder_2014-11-03_15-00-59 png_130595004593300652](https://cloud.githubusercontent.com/assets/4949392/4884296/5c1620dc-636a-11e4-90f5-ef55f9a05af3.png)\n\n**Usage**\n\n``` c#\n_host = new SelenoHost();\n_host.Run(x => x\n    .UsingCamera(new ContextFileCamera(CameraFolderPath, typeof(TestAttribute)))\n    .WithWebServer(new InternetWebServer(\"http://www.google.com/\"))\n    .WithMinimumWaitTimeoutOf(TimeSpan.FromMilliseconds(100))\n);\n```\n\nI'm not too happy with the having to pass down the attribute type that decorate the test, i.e. `typeof(TestAttribute)` for NUnit. However I couldn't think of a generic way to handle this. \n"},"comment":{"url":"https://api.github.com/repos/TestStack/TestStack.Seleno/issues/comments/366717458","html_url":"https://github.com/TestStack/TestStack.Seleno/pull/185#issuecomment-366717458","issue_url":"https://api.github.com/repos/TestStack/TestStack.Seleno/issues/185","id":366717458,"user":{"login":"robdmoore","id":573791,"avatar_url":"https://avatars3.githubusercontent.com/u/573791?v=4","gravatar_id":"","url":"https://api.github.com/users/robdmoore","html_url":"https://github.com/robdmoore","followers_url":"https://api.github.com/users/robdmoore/followers","following_url":"https://api.github.com/users/robdmoore/following{/other_user}","gists_url":"https://api.github.com/users/robdmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/robdmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdmoore/subscriptions","organizations_url":"https://api.github.com/users/robdmoore/orgs","repos_url":"https://api.github.com/users/robdmoore/repos","events_url":"https://api.github.com/users/robdmoore/events{/privacy}","received_events_url":"https://api.github.com/users/robdmoore/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T14:58:20Z","updated_at":"2018-02-19T14:58:20Z","author_association":"OWNER","body":"This is still incredibly useful. The main issue is that Seleno hasn't received any love for a long time. I'd prefer this is left open to it's clear if Seleno is ressurected at any point."}}
{"actor":{"display_login":"robdmoore"}}