{"action":"created","issue":{"url":"https://api.github.com/repos/darcy-framework/darcy-web/issues/31","labels_url":"https://api.github.com/repos/darcy-framework/darcy-web/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/darcy-framework/darcy-web/issues/31/comments","events_url":"https://api.github.com/repos/darcy-framework/darcy-web/issues/31/events","html_url":"https://github.com/darcy-framework/darcy-web/pull/31","id":59863518,"number":31,"title":"Add Cookie api (fixes #21)","user":{"login":"abocz","id":1452700,"avatar_url":"https://avatars.githubusercontent.com/u/1452700?v=3","gravatar_id":"","url":"https://api.github.com/users/abocz","html_url":"https://github.com/abocz","followers_url":"https://api.github.com/users/abocz/followers","following_url":"https://api.github.com/users/abocz/following{/other_user}","gists_url":"https://api.github.com/users/abocz/gists{/gist_id}","starred_url":"https://api.github.com/users/abocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abocz/subscriptions","organizations_url":"https://api.github.com/users/abocz/orgs","repos_url":"https://api.github.com/users/abocz/repos","events_url":"https://api.github.com/users/abocz/events{/privacy}","received_events_url":"https://api.github.com/users/abocz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/darcy-framework/darcy-web/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T21:18:44Z","updated_at":"2015-03-05T00:21:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/darcy-framework/darcy-web/pulls/31","html_url":"https://github.com/darcy-framework/darcy-web/pull/31","diff_url":"https://github.com/darcy-framework/darcy-web/pull/31.diff","patch_url":"https://github.com/darcy-framework/darcy-web/pull/31.patch"},"body":"Need to add javadocs and determine what to do for the licensing still"},"comment":{"url":"https://api.github.com/repos/darcy-framework/darcy-web/issues/comments/77280807","html_url":"https://github.com/darcy-framework/darcy-web/pull/31#issuecomment-77280807","issue_url":"https://api.github.com/repos/darcy-framework/darcy-web/issues/31","id":77280807,"user":{"login":"alechenninger","id":3496559,"avatar_url":"https://avatars.githubusercontent.com/u/3496559?v=3","gravatar_id":"","url":"https://api.github.com/users/alechenninger","html_url":"https://github.com/alechenninger","followers_url":"https://api.github.com/users/alechenninger/followers","following_url":"https://api.github.com/users/alechenninger/following{/other_user}","gists_url":"https://api.github.com/users/alechenninger/gists{/gist_id}","starred_url":"https://api.github.com/users/alechenninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alechenninger/subscriptions","organizations_url":"https://api.github.com/users/alechenninger/orgs","repos_url":"https://api.github.com/users/alechenninger/repos","events_url":"https://api.github.com/users/alechenninger/events{/privacy}","received_events_url":"https://api.github.com/users/alechenninger/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T00:21:26Z","updated_at":"2015-03-05T00:21:26Z","body":"Looks good so far. Like you said, let's get the Selenium attribution and license in there.\r\n\r\nI was also thinking if we should make this use case simpler...\r\n\r\n```java\r\nbrowser.cookies().getAll().stream()\r\n  .filter(filterCookiesInSomeWay())\r\n  .forEach(c -> browser.cookies().delete(c));\r\n```\r\n\r\nThat's pretty terse already though so it might be fine, but, I dunno, do you think this would be useful?\r\n\r\n```java\r\nbrowser.cookies()\r\n    .deleteWhere(c -> c.getDomain().contains(\"some.string\"));\r\n\r\nSet<Cookies> cookies = browser.cookies()\r\n    .getWhere(c -> c.getDomain().contains(\"some.string\"));\r\n```"}}