{"action":"created","issue":{"url":"https://api.github.com/repos/johntitus/node-horseman/issues/147","repository_url":"https://api.github.com/repos/johntitus/node-horseman","labels_url":"https://api.github.com/repos/johntitus/node-horseman/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/johntitus/node-horseman/issues/147/comments","events_url":"https://api.github.com/repos/johntitus/node-horseman/issues/147/events","html_url":"https://github.com/johntitus/node-horseman/issues/147","id":143525064,"number":147,"title":"Issue when using proxies","user":{"login":"snapeuh","id":4946717,"avatar_url":"https://avatars.githubusercontent.com/u/4946717?v=3","gravatar_id":"","url":"https://api.github.com/users/snapeuh","html_url":"https://github.com/snapeuh","followers_url":"https://api.github.com/users/snapeuh/followers","following_url":"https://api.github.com/users/snapeuh/following{/other_user}","gists_url":"https://api.github.com/users/snapeuh/gists{/gist_id}","starred_url":"https://api.github.com/users/snapeuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapeuh/subscriptions","organizations_url":"https://api.github.com/users/snapeuh/orgs","repos_url":"https://api.github.com/users/snapeuh/repos","events_url":"https://api.github.com/users/snapeuh/events{/privacy}","received_events_url":"https://api.github.com/users/snapeuh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-25T15:34:30Z","updated_at":"2016-03-29T10:00:57Z","closed_at":null,"body":"Hello,\r\n\r\nI use Horseman 3.0.0 Beta 1 and I tried to use it with a proxy.\r\n\r\n```javascript\r\nBrowser\r\n    .setProxy('ip', '80', 'http', 'username:password')\r\n    .userAgent('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36')\r\n    .viewport(1366, 768)\r\n    .open('http://www.example.com')\r\n    .screenshot('image.png')\r\n    .close();\r\n```\r\n\r\nThe screenshot is the page when I visit : http://myproxyip:myproxyport. Same if I use the .html method. It returns the HTML code of the proxy page. \r\n\r\nDid you experience this issue?\r\n\r\nThanks,\r\n\r\nRomain."},"comment":{"url":"https://api.github.com/repos/johntitus/node-horseman/issues/comments/202815359","html_url":"https://github.com/johntitus/node-horseman/issues/147#issuecomment-202815359","issue_url":"https://api.github.com/repos/johntitus/node-horseman/issues/147","id":202815359,"user":{"login":"snapeuh","id":4946717,"avatar_url":"https://avatars.githubusercontent.com/u/4946717?v=3","gravatar_id":"","url":"https://api.github.com/users/snapeuh","html_url":"https://github.com/snapeuh","followers_url":"https://api.github.com/users/snapeuh/followers","following_url":"https://api.github.com/users/snapeuh/following{/other_user}","gists_url":"https://api.github.com/users/snapeuh/gists{/gist_id}","starred_url":"https://api.github.com/users/snapeuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapeuh/subscriptions","organizations_url":"https://api.github.com/users/snapeuh/orgs","repos_url":"https://api.github.com/users/snapeuh/repos","events_url":"https://api.github.com/users/snapeuh/events{/privacy}","received_events_url":"https://api.github.com/users/snapeuh/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T10:00:57Z","updated_at":"2016-03-29T10:00:57Z","body":"@awlayton My bad. I was distracted and used the wrong port for my proxy. It isn't on port 80. Everything is working as expected now. Thanks again for your patience and your help.\r\n\r\nRomain."}}