The findElements() method works for an array of objects. It returns an array of objects with the matching search Otherwise an empty array is returned.