Commands | Description | Arguments |
store | Save a target string as a variable for easy re-use | text: The text to use.variable name: The name of a variable without brackets. |
store_attribute | Gets the value of an element attribute. The value of the attribute may differ across browsers | attribute locator: An element locator followed by an @ sign and then the name of the attribute, e.g. “foo@bar”.variable name: The name of a variable without brackets. |
store_json | Save a target json as a variable for easy re-use | json: A string representation of a JavaScript object.variable name: The name of a variable without brackets. |
store_text | Gets the text of an element and stores it for later use. This works for any element that contains text. | locator: An element locator.variable name: The name of a variable without brackets. |
store_value | Gets the value of element and stores it for later use. This works for any input type element. | locator: An element locator.variable name: The name of a variable without brackets. |
store_xpath_count | Gets the number of nodes that match the specified xpath (e.g. “//table” would give the number of tables). | xpath: The xpath expression to evaluate.variable name: The name of a variable without brackets. |