2017-09-23 1 views
0

에 각도기를 실행할 수 없습니다 나는 IE11에 각도기를 실행하려고하고 나는이 failuer 얻을 유지 :는 인터넷 익스플로러

E/launcher - Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones.

나는 모든 영역 탐색기에서 설정하지만 여전히이 오류가 않았다 있습니다.

내 conf.js 파일은 다음과 같습니다

exports.config = { 
    // The address of a running selenium server. 
    seleniumAddress: 'http://localhost:4444/wd/hub', 

    // Capabilities to be passed to the webdriver instance. 
    capabilities: { 
    browserName: 'internet explorer' 
    }, 

    // Spec patterns are relative to the configuration file location passed 
    // to protractor (in this example conf.js). 
    // They may include glob patterns. 
    specs: ['todo-spec.js'], 

    // Options to be passed to Jasmine-node. 
    jasmineNodeOpts: { 
    showColors: true, // Use colors in the command line report. 
    } 
}; 

도와주세요. 이러한 기능을 포함 진탕 ​​

답변

0

는 도구 -> 인터넷 옵션 -> 같은 보호 모드로 보안 탭 설정하고 모든 영역은 (활성화 또는 비활성화 할 수 있습니다).

0

시도 :

capabilities: { 
    ... 
    "ignoreProtectedModeSettings": true 
} 
+0

작동하지 않았습니다. (105) [17시 39분 56초] E/configParser - 오류 메시지 :로드 실패 구성 파일 conf.js [17시 39분 56초 - 오류 코드 [17시 39분 56초] E/configParser : 나는 새로운 오류가 발생했습니다 ] E/configParser - C : \ 사용자 \ 모란 \ 각도기 \ conf.js : 9 'ignoreProtectedModeSettings': 사실, ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ –

+1

이것은 config.js의 형식이 올바르지 않기 때문입니다. 무언가가 빠졌어. 이 기능은 오류를 발생시키지 않습니다. – cnishina