contains
The command to get a single Element containing the given text.
Syntax
Usage
Arguments
text (str)
- The text to look fortimeout=None (int)
- The number of seconds for this command to succeed.timeout=0
will poll the DOM immediately with no waitAny value greater 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