您好,我正在使用seleinum web deriver来应用一些测试,并且我得到了这个错误:
(node:4147) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:62427
(node:4147) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zerexit code.我试着把流浪汉的档案
config.vm.network :forwarded_port, guest: 62427, host: 62427但是它触发了这个错误:
ECONNREFUSED connect ECONNREFUSED 127.0.0.1:57807
ECONNREFUSED connect ECONNREFUSED 127.0.0.1:54991总是使用不同的端口
提前感谢卡洛斯·维埃拉
发布于 2018-03-07 19:41:38
我在这个问题上找到了解决办法。
我已经应用了同样的方法,并且它起作用了。
非常感谢卡洛斯·维埃拉
https://stackoverflow.com/questions/49148743
复制相似问题