2017-09-23 3 views
0

に分度器を実行することはできません。は、私はIE11に分度器を実行しようと、私はこのfailuerを取得しておくのInternet Explorer

私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:\ Users \ユーザーモラン\分度器\ conf.js:9 'ignoreProtectedModeSettings':真、 ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ –

+1

これはあなたのconfig.jsが適切にフォーマットされていないためです。何かが欠けています。機能によってエラーが発生することはありません。 – cnishina

関連する問題