get
The command to get a single Element that matches the CSS selector.
Syntax
Usage
correct usage
incorrect usage
Arguments
css (str)
- The CSS 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
Element - The first element that is found, even if multiple elements match the query.
Last updated