sha*_*hab 48 php selenium asynchronous phantomjs
这是一个截图:

task :  Codeception PHP Testing Framework v1.6.2
Powered by PHPUnit 3.7.19 by Sebastian Bergmann.
Suite selenium_acceptance started
Trying to see the welcome page of newweather (welcomeCept.php)
issue : it sits as it is and waiting for phantomJS to respond and below is what phantomJS screen is showing :
[INFO  - 2014-03-13T01:42:51.575Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: ca14e740-aa50-11e3-bb6b-75468ba86108
[INFO  - 2014-03-13T01:47:42.806Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
[INFO  - 2014-03-13T01:52:42.806Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
[INFO  - 2014-03-13T01:57:42.806Z] SessionManagerReqHand - _cleanupWindowlessSessions - Asynchronous Sessions clean-up phase starting NOW
它坐在屏幕上没有结果.
这是我使用的:
我能找到的唯一半相关的答案如下:
“异步会话清理阶段现在开始......是由对外部提要的一些调用引起的,这些调用间歇性地缓慢。这个阶段一定是在等待这些超时的调用,但 PhantomJS 坐在那里等待一个非常非常慢的调用。很久。
在测试时删除这些调用(使用一点点 JavaScript,如果主机是本地主机,则使用虚拟对象)解决了问题。”
在这里找到:重复“异步会话清理阶段现在开始”
因此,该问题很可能是由外部 feed/API 调用超时引起的。
Github问题:https ://github.com/ariya/phantomjs/issues/11526