利用可能なログタイプを取得します。WebDriverのログタイプに関する詳細情報は、こちらをご覧ください: https://github.com/SeleniumHQ/selenium/wiki/Logging

使用方法

                    .getLogTypes(callback)
                

this.demoTest = function(client) {
  this.getLogTypes(function(typesArray) {
    console.log(typesArray);
  });
};

パラメータ

名前 説明
callback 関数

結果値とともに呼び出されるコールバック関数。

戻り値

説明
配列

利用可能なログタイプ

参照