私nightwatch.conf.js
は持っています:
"desiredCapabilities": {
"browserName": "internet explorer",
"javascriptEnabled": true,
"acceptSslCerts": true,
},
プライベート モードで IE を実行するプロパティの名前は?
私が見つけた唯一の答えはこれです:
capabilities.setCapability(InternetExplorerDriver.FORCE_CREATE_PROCESS, true);
сapabilities.setCapability(InternetExplorerDriver.IE_SWITCHES, "-private");
-- しかし、それを JSON 構成に追加する方法がわかりません。
私はもう試した:
"desiredCapabilities": {
"browserName": "internet explorer",
"javascriptEnabled": true,
"acceptSslCerts": true,
"IE_SWITCHES": "private",
},
と:
"desiredCapabilities": {
"browserName": "internet explorer",
"javascriptEnabled": true,
"acceptSslCerts": true,
"args": "private",
},
運がなければ。