- SEE ALSO
$elems->send_keys('The quick brown fox jumps over the lazy dog');
Get a serialized HTML fragment describing the element including its descendants.
Get the combined text contents of each element in the set of matched elements, including their descendants.
The following methods merely return information about this collection or return a new collection, none of them involve a call to the server.
Returns a new collection containing all the elements in the original plus any that were passed as arguments.
Returns a new collection containing only the first element in this collection.
Returns a new collection containing only the last element in this collection.
Returns a count of how many elements are in the collection.
Returns a new collection containing the elements of the current collection, indentified by indices, starting at zero e.g.
$elems->slice(0); # Same as first. $elems->slice(1, 2); # The second and the third elements. $elems->slice(-1); # Same as last.
Splits a collection into a list of collections, with each collection containing one element.
@elems = $elems->split; $elems->split == $elems->size; # true
Returns a new collection containing no duplicate elements, order is not preserved.