GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WebDriver::Tiny::Elements(3) User Contributed Perl Documentation WebDriver::Tiny::Elements(3)

WebDriver::Tiny::Elements

click

 $elems->click;

clear

 $elems->clear;

send_keys

 $elems->send_keys('The quick brown fox jumps over the lazy dog');

tap

attr

css

enabled

 say $elem->html;

Get a serialized HTML fragment describing the element including its descendants.

rect

selected

tag

text

Get the combined text contents of each element in the set of matched elements, including their descendants.

visible

The following methods merely return information about this collection or return a new collection, none of them involve a call to the server.

append

Returns a new collection containing all the elements in the original plus any that were passed as arguments.

first

Returns a new collection containing only the first element in this collection.

last

Returns a new collection containing only the last element in this collection.

size

Returns a count of how many elements are in the collection.

slice

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.

split

Splits a collection into a list of collections, with each collection containing one element.

 @elems = $elems->split;
 $elems->split == $elems->size;  # true

uniq

Returns a new collection containing no duplicate elements, order is not preserved.

find

screenshot my $png_blob = $elem->screenshot;

 $elem->screenshot('/tmp/foo.png');

WebDriver::Tiny

2021-04-15 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.