Find the phantomjs binary

find_phantom()

Details

This is taken directly from webshot, where find_phantomjs is a non-exported function.