How to make protractor run with puppeteer and chrome 78?

后端 未结 2 1876
悲&欢浪女
悲&欢浪女 2021-01-21 19:24

I am using Protractor for Angular E2E Tests + Puppeteer for a consistent Chrome Version in all CI-Servers.

Lately I am getting SessionNotCreatedError: session not

2条回答
  •  轮回少年
    2021-01-21 20:04

    This has been an issue for a few months now. There are several threads on their github repo around it. The workaround for me has been to navigate to ~/node_modules/protractor and manually install webdriver-manager@latest. You should see webdriver-manager@12.1.7 installed.

    > cd node_modules\protractor
    > npm i webdriver-manager@latest
    

提交回复
热议问题