我試圖在firefox中運行量角器測試,但不幸的是沒有運氣。測試在Chrome上正確運行,但Firefox不知道如何啓動一個頁面。每次它嘗試去一個URL它會引發不正確的url:about:blank&utm_content=firstrun
。在火狐中運行量角器
我的配置是非常簡單的:
exports.config = {
multiCapabilities: [{
'browserName': 'firefox'
}, {
'browserName': 'chrome'
}],
},
params: {
url: 'https://google.com/',
outdir: './test/coverage/',
elements: [{
'type': 'button',
'events': ['click'],
'elements': []
}],
},
onPrepare: function() {
jasmine.getEnv().addReporter(reporter.getJasmine2Reporter());
/*Logging*/
},
framework: 'jasmine',
seleniumAddress: 'http://localhost:4444/wd/hub',
我想它在Firefox版本48
你有什麼版本的Firefox? – Hmahwish
我更新了我的問題 – FCin
我得到了同樣的結果,我使用的是Firefox 49 – Dash