getx
The command to get a single Element using an XPath selector.
Syntax
Usage
Arguments
xpath (str)
- The XPATH selector to usetimeout=None (int)
- The number of seconds for this command to succeed.timeout=0
will poll the DOM immediately with no waitGreater than zero will override the default wait_time
Yields
Element - The first element found, even if multiple elements match the query.
Examples
Last updated