Setting environment variable for CHROME_BIN does not work

后端 未结 8 1419
小鲜肉
小鲜肉 2020-12-30 22:47

I\'m trying to use Karma for testing my js scripts. In the doc it says I should set the environment variable for CHROME_BIN:

I\'ve set it to

相关标签:
8条回答
  • 2020-12-30 23:44

    I solved the problem by running from an Administrator Command Prompt. No need to set CHROME_BIN and it will automatically point to your default installation.

    0 讨论(0)
  • 2020-12-30 23:44

    Use set (see http://ss64.com/nt/set.html) and place the quotes around the entire string

    "%programfiles(x86)%\Google\Chrome\Application\Chrome.exe"

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