getElements
Access WebdriverIO.ElementArray
properties like length
or selector
from the elements reference.
Usage
$(selector).getElements()
Example
getElements.ts
it('should allow me to inspect WebdriverIO.Element properties', async () => {
const divs = await $$('div').getElements();
console.log(divs.length); // outputs: 43
});