Unable to parse new session response, when run Protractor test in firefox

后端 未结 1 1619
一整个雨季
一整个雨季 2021-01-14 05:44

Protractor version : 5.1.1, Firefox version: 47, webdriver version : v0.15.0 I get following error when I try to run Protractor test in Firefox:

[15:13:47]         


        
相关标签:
1条回答
  • 2021-01-14 06:03

    directConnect is not working with Firefox 52+ and Protractor 5.1.1. (angular/protractor#4253) Have you tried with a standalone version of webdriver-manager to eliminate the directConnect problems?

    How to use webdriver-manager:

    • npm install webdriver-manager -g
    • webdriver-manager update
    • webdriver-manager start

    It will start a server on localhost:4444/wd/hub. Add that to your config with seleniumAddress: 'http://localhost:4444/wd/hub'.

    You are also using an old version of Firefox (47) with a new webdriver version. I don't know if that could cause the problem. Do you really need 47, or can you upgrade? If so, be aware that 51 is "stable" and 52 could give some troubles.

    0 讨论(0)
提交回复
热议问题