Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/sql-server-2008/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Testing 在Windows 8.1 64位上使用量角器进行E2E测试_Testing_Protractor_Angularjs E2e - Fatal编程技术网

Testing 在Windows 8.1 64位上使用量角器进行E2E测试

Testing 在Windows 8.1 64位上使用量角器进行E2E测试,testing,protractor,angularjs-e2e,Testing,Protractor,Angularjs E2e,我通过npm在全球安装量角器,在我的机器上设置了量角器。然后我更新了我的webdriver管理器并启动了它 现在,运行dragrator-dragrator-e2e.conf.js可以在我有 capabilities: { 'browserName': 'firefox' }, 要不是 capabilities: { 'browserName': 'chrome' }, 我只收到一个弹出窗口,告诉我: An administrator has installed Google

我通过npm在全球安装量角器,在我的机器上设置了量角器。然后我更新了我的webdriver管理器并启动了它

现在,运行dragrator-dragrator-e2e.conf.js可以在我有

capabilities: {
    'browserName': 'firefox'
},
要不是

capabilities: {
    'browserName': 'chrome'
},
我只收到一个弹出窗口,告诉我:

An administrator has installed Google Chrome on this system, and it is available for all users. The system-level Google Chrome will replace your user-level installation now.

我如何解决这个问题?我应该重新安装谷歌浏览器吗?我真的想测试Chrome而不是Firefox…

我已经卸载了Chrome,删除了中的两个目录

c:\Users\user_name\AppData\Local\Google\Chrome\
c:\Program Files (x86)\Google\Chrome\

现在它工作得很好

你安装了chrome驱动程序吗?