2014-05-08 122 views
0

我已通過npm在全局安裝量角器,在我的機器上設置了量角器。然後我更新了我的webdriver管理器並啓動了它。在Windows 8.1上使用量角器進行E2E測試64位

現在運行protractor protractor-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. 

我怎樣才能解決這個?我應該重新安裝Google Chrome嗎?我真的想試用Chrome而不是Firefox的,然後......

+0

你安裝了chrome驅動程序嗎? http://chromedriver.storage.googleapis.com/index.html – nilsK

回答

0

我已經卸載鉻,在

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

刪除這兩個目錄和現在工作得很好。

相關問題