“Runtime.executionContextCreated has invalid 'context” error when i run Protractor

后端 未结 9 2263
悲&欢浪女
悲&欢浪女 2020-12-03 16:41

I am getting this below Error while i run my protractor. And below is the error as shown in my webstorm console.

\"C:\\Program Files (x86)\\JetBrains

9条回答
  •  無奈伤痛
    2020-12-03 17:31

    I updated to Chrome Driver 2.25 which fixed the problem for me. This is a simple update:

    • Download the latest version from: https://sites.google.com/a/chromium.org/chromedriver/downloads
    • Unzip the contents (it's one file "chromedriver.exe").
    • Copy that over your existing chromedriver.exe
    • For me that was at: \node_modules\protractor\selenium

    That's it. I reran the tests and the pesky error went away.

提交回复
热议问题