Alex Layton
Alex Layton
The `phantomOptions` argument is more of an advanced feature that can break stuff. You should try using the normal Horseman options instead. Everything you are specifying (except `ssl-client-certificate-file`) is supported...
Also, I recommend explicitly setting `proxyType` to `'http'`, or whatever the correct type is, as I am not sure what it defaults to.
The example works fine for me the way it is. Could you post the output of running it with debugging on (i.e., `DEBUG='horseman*' BLUEBIRD_DEBUG=1 node examples/links.js`)?
Please run with the debugging variables set like in my comment. It makes the log useful.
Unfortunately the `.open` in PhantyomJS simply returns `'success'` or `'fail'` and nothing about why it failed. It order to recognize it was caused by a timeout, horseman needs to register...
I am open to others' thoughts, but I feel this feature is unnecessary. Also, I feel the specific types of links you are filtering out would vary from use to...
Could you please post an example script and the versions of everything (PhantomJs, Node.Js, horseman, OS, etc.)?
I'm not sure how I feel about these functions. They feel unnecessary to me. If other people want them I might pull them in. Do you have an opinion @johntitus?...
I would have just made them `.ifExists` and `.ifVisible`
PhantomJS has support for sending whatever encoding you want, but you have to encode the data yourself.