如何在intern js (leadfoot)中获取this.remote.findAllByXpath()返回的元素个数。
发布于 2017-03-11 01:27:41
我只是在玩leadfoot,所以不是专家,但它不会是这样的吗?
foo.findAllByXpath('/html/body/div')
.then(function (rows) {
console.log(rows.length);
});https://stackoverflow.com/questions/42723580
复制相似问题