How to get the count of the element returned bythis.remote.findAllByXpath()
in intern js (leadfoot).
I just played with leadfoot so not an expert but wouldn't it be something like this?
foo.findAllByXpath('/html/body/div')
.then(function (rows) {
console.log(rows.length);
});