// Number of elements. element.all(locator).count(); // Get by index (starting at 0). element.all(locator).get(index); // First and last. element.all(locator).first(); element.all(locator).last();