1
基本身份驗證我創建nightwatch.json文件像下面(用戶名和access_key屬性):Nightwatch:與access_key不工作
"test_settings": {
"default": {
"launch_url": "http://localhost",
"selenium_port": 4444,
"selenium_host": "localhost",
"silent": true,
"cli_args": {
"webdriver.firefox.profile": "testprofile"
},
"screenshots": {
"enabled": false,
"path": "screenshots/"
},
"desiredCapabilities": {
"browserName": "firefox",
"javascriptEnabled": true,
"acceptSslCerts": true
},
"username": "examplelogin",
"access_key": "password"
}
但基本身份驗證不工作,我得到的登錄窗口,以填補我的密碼並在運行測試後登錄。我看着小提琴手的包,沒有授權頭。任何想法我做錯了什麼?
Nightwatch v0.9.6