2014年8月28日木曜日

IE11の場合

IEでテストを行う場合、IE使用に条件がある

https://code.google.com/p/selenium/wiki/InternetExplorerDriver のRequired Configurationを見ると

IE11でテストを行う場合、
インターネットオプションのセキュリティの保護モードを無効にする必要があります
無効にしないとエラーになります
  org.openqa.selenium.remote.SessionNotFoundException: 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. (WARNING: The server did not provide any stacktrace information)...


他のバージョンにも条件がありますが、未確認なのでRequired Configurationを参照してください
確認したら投稿します

詳しくは、https://code.google.com/p/selenium/wiki/InternetExplorerDriver のRequired Configurationを参照してください

0 件のコメント:

コメントを投稿