session not created exception for chrome in Protractor

前端 未结 6 1908
轮回少年
轮回少年 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:57

    For me, updating chromedriver and protractor-conf.js fixed the issue.

    1. Download latest chromedriver that suitable to your OS (change the minor version if needed) from here: http://chromedriver.storage.googleapis.com/index.html?path=2.24/
    2. Unzip to /usr/local/bin/chromedriver folder.
    3. In protractor-conf.js (should be in app root) add a line with config.chromeDriver = '/usr/local/bin/chromedriver';

提交回复
热议问题