session not created exception for chrome in Protractor

前端 未结 6 1921
轮回少年
轮回少年 2020-12-11 03:29

I get below error when try to run Protractor test against chrome.

My conf.ts

import {Config} from \'protractor\'

export let config: Config = {
    f         


        
6条回答
  •  情书的邮戳
    2020-12-11 03:52

    Protractor has a new release (4.0.10) that will use the new release of webdriver-manager (10.2.6), which in turn will update to the new Chromedriver when calling webdriver-manager update. All you need to do is update Protractor in your package.json file.

    "protractor": "^4.0.9" to "protractor": "^4.0.10"
    

    Hope this helps :)

提交回复
热议问题