0
同じ行のそのボタンの関連する他の値に基づいて、行内のボタンをクリックする必要があります。 上をクリックする必要があります。 ボタンNG-場合は、テキストに基づく=「ctrl.showEdit」 は クラス= どちらも上記の属性があるが、「幅25 ngの結合」TDやクラスを次のように「ABC」が含ま同じ行分度器で他の列の値に基づいて列をクリックする方法
this.EditByName = function (input) {
element.all(by.className('table pagination-table-margin ng-scope ng-table')).then(function (rows) {
rows.forEach(function (row) {
row.all(by.className('ng-binding')).then(function (columns) {
element.all(by.cssContainingText(input)).then(function() {
element(by.className('btn-grid ng-scope')).click();
console.log(input);
});
});
});
});
};