{"action":"closed","issue":{"url":"https://api.github.com/repos/johntitus/node-horseman/issues/22","labels_url":"https://api.github.com/repos/johntitus/node-horseman/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/johntitus/node-horseman/issues/22/comments","events_url":"https://api.github.com/repos/johntitus/node-horseman/issues/22/events","html_url":"https://github.com/johntitus/node-horseman/issues/22","id":66411773,"number":22,"title":"Travis-CI Compatibility","user":{"login":"ben-z","id":5977478,"avatar_url":"https://avatars.githubusercontent.com/u/5977478?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-z","html_url":"https://github.com/ben-z","followers_url":"https://api.github.com/users/ben-z/followers","following_url":"https://api.github.com/users/ben-z/following{/other_user}","gists_url":"https://api.github.com/users/ben-z/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-z/subscriptions","organizations_url":"https://api.github.com/users/ben-z/orgs","repos_url":"https://api.github.com/users/ben-z/repos","events_url":"https://api.github.com/users/ben-z/events{/privacy}","received_events_url":"https://api.github.com/users/ben-z/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-05T07:04:26Z","updated_at":"2015-07-22T12:37:05Z","closed_at":"2015-07-22T12:37:04Z","body":"Hello, \r\n\r\nFirst of all, thank you for the great work!\r\n\r\nI was trying to run `node-horseman` with mocha on [**travis**](travis-ci.com) but it failed with:\r\n\r\n```\r\n> node test/horseman.js\r\n\r\nundefined\r\nnpm ERR! Test failed.  See above for more details.\r\n```\r\n\r\nThe script is almost exactly the same as the example:\r\n\r\n```javascript\r\nvar Horseman = require('node-horseman');\r\nvar horseman = new Horseman();\r\n\r\nvar numLinks = horseman\r\n  .open('http://www.google.com')\r\n  .type('input[name=\"q\"]', 'github')\r\n  .click(\"button:contains('Search')\")\r\n  .waitForNextPage()\r\n  .title();\r\n\r\nconsole.log(\"Title: \" + numLinks);\r\n\r\nhorseman.close();\r\n```\r\n\r\nPlease let me know if this is a known issue or if I have missed anything.\r\n\r\nThanks,\r\n\r\nBen"}}