#
extract_text
Reads text (or an attribute) from an element and saves it into a variable.
#
Parameters
selector,selector_type,selector_index,frame_selector,timeout_ms- seesteps/index.md.attribute(string, optional) - attribute name (if not set, usestextContent).strip(bool, optional) - trim whitespace (defaulttrue).to_var/var/name(string, optional) - target variable name (defaultlast_value).
#
Example
{
"action": "extract_text",
"tag": "ReadTitle",
"selector": "css=h1",
"to_var": "title"
}