Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Protractor 当我运行量角器测试时,为什么我会得到SSL例程:ssl3\u get\u记录:错误的版本号?_Protractor - Fatal编程技术网

Protractor 当我运行量角器测试时,为什么我会得到SSL例程:ssl3\u get\u记录:错误的版本号?

Protractor 当我运行量角器测试时,为什么我会得到SSL例程:ssl3\u get\u记录:错误的版本号?,protractor,Protractor,我的规格是: SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332: description('量角器演示应用程序',函数()){ 它('应该有一个标题',函数(){ browser.get('http://google.com/“);//问题出在config.js 我有 $ protractor conf.js

我的规格是:

SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:  
description('量角器演示应用程序',函数()){
它('应该有一个标题',函数(){

browser.get('http://google.com/“);//问题出在
config.js

我有

$ protractor conf.js                                                                                                                                                                               
[12:59:46] I/launcher - Running 1 instances of WebDriver                                                                                                                                           
[12:59:46] I/hosted - Using the selenium server at https://localhost:4444/wd/hub                                                                                                                   
[12:59:46] E/launcher - EPROTO write EPROTO 140666782832512:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:                 

[12:59:46] E/launcher - Error: EPROTO write EPROTO 140666782832512:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:          

    at ClientRequest.<anonymous> (/home/durrantm/Dropbox/90_2019/work/code/js/protractor/protractortest.org/node_modules/selenium-webdriver/http/index.js:238:15)                                  
    at ClientRequest.emit (events.js:223:5)                                                                                                                                                        
    at TLSSocket.socketErrorListener (_http_client.js:406:9)                                                                                                                                       
    at TLSSocket.emit (events.js:223:5)
但我需要:

seleniumAddress: 'https://localhost:4444/wd/hub',
seleniumAddress: 'https://localhost:4444/wd/hub',
seleniumAddress: 'http://localhost:4444/wd/hub'