Does phantomjs support Bayeux or WebSockets?
问题 Just simple question, because I didn't find any references in docs.. 回答1: Just a simple answer: PhantomJS 1.x does not, but PhantomJS 2 does support websockets. Modernizr output for PhantomJS 2.0.0: 来源: https://stackoverflow.com/questions/28827361/does-phantomjs-support-bayeux-or-websockets