|
Find Element on a Webpage
Searches the webpage for the element that matches the specified criteria. You can also use this action to gather the display text of the element.
Click here to show the figure
Parameters
-
Page name Specifies which page will be searched. The webpage should be opened or connected before executing this action.
-
Find what Specifies the type of element to be searched.
-
Find method Specifies the search method.
-
Find content Specifies the content to find.
-
Ordinal while multi elements meet condition Specifies the position of the element in all matched elements.
-
Match case Specifies whether the search is case-sensitive.
-
Match whole words Specifies whether to search only for whole words that match the search content.
-
Set keyboard focus to element Specifies whether to set the cursor focus to the element.
-
Return display text of element into variable Specifies a variable for holding the display text of the element.
Notes:
If an element matches the criteria, the value of the global variable "error" will be a string "OK", otherwise, it will be set to the string "WAR".
For the find method "Find element by attribute", using the standard HTML synax, for example:
id=abc size=1
id="abc" size="1"
|