Angularjs 量角器幻影挂起在从http启动的Selenium独立服务器上://

Angularjs 量角器幻影挂起在从http启动的Selenium独立服务器上://,angularjs,phantomjs,protractor,Angularjs,Phantomjs,Protractor,我正试图使量角器与用于开发的Chrome和用于服务器的PhantomJS一起工作。问题是,当我尝试使用PhantomJS运行量角器时,它挂起在: Selenium独立服务器在启动http://... 之后什么也没发生。我尝试了很多不同的配置,搜索了打开的bug或补丁,但找不到解决方案。有人有线索吗 我的配置: capabilities: { 'browserName': 'phantomjs', 'phantomjs.cli.args': ['--ignore-ssl-

我正试图使量角器与用于开发的Chrome和用于服务器的PhantomJS一起工作。问题是,当我尝试使用PhantomJS运行量角器时,它挂起在:

Selenium独立服务器在启动http://...

之后什么也没发生。我尝试了很多不同的配置,搜索了打开的bug或补丁,但找不到解决方案。有人有线索吗

我的配置:

capabilities:
{
    'browserName': 'phantomjs',     
    'phantomjs.cli.args': ['--ignore-ssl-errors=true',  '--web-security=false', '--debug=true'],
    'phantomjs.binary.path': './node_modules/phantomjs/bin/phantomjs'
}

检查您的phantomJS配置

例如:对于Windows:您应该将phantomjs.exe dir添加到路径中,然后(对于WS)删除“phantomjs.binary.PATH”:

   capabilities:
   {
       'browserName': 'phantomjs',     
   }
然后:

有关更多详细信息,请参阅此链接:

protractor test/protractor-conf.js