findx
The command to get a list of Elements that match the XPath selector.
Syntax
Usage
correct usage
incorrect usage
Arguments
xpath (str)
- The XPATH selector to usetimeout=None (int)
- The number of seconds for this command to succeed.timeout=None
will use the default wait_time in pylenium.jsontimeout=0
will poll the DOM immediately with no waitGreater than zero will override the default wait_time
Yields
Elements - The list of elements found.
If none are found, returns an empty list
If one or more are found, return the list normally
Examples
Last updated