iRobo.Activity.For Each HTML Element
Search Web Browser for all instances of the supplied XPath/CSS selector.
Note: Before using Web Activities, check Web Automation prerequisites from Web Automation Page. |
Input
- CSSSelector - Select content to style.
- Displayed - Check if selected Element is displayed or not. Its input is True/False arguments.
- Element Selector - Generate Script for selected Element.
- Frame - Get border frame of selected HTML Element.
- MaxResults - Set maximum number of output results.
- Searchtags - Find any Element on the Web page using HTML tags.
- Searchxpath - Find any Element on the Web page using XML path expression.
- Timeout - Time to execute activity.
- XPath - Find any Element on the Web page using XML path expression.
Misc
- results - A Collection of output values.
- DisplayName - Activity header name.
Output
- Results - Array of HTML Element Variables.
Steps of Using For Each HTML Element Activity
- Open iRobo Studio, and then open a new Workflow.
- Drag For Each HTML Element Activity to the Sequence.
- Enter XPath dynamic value in SearchXpath field in Properties Panel.
- You can also search for HTML Element using HTML tags by SearchTags field in Properties Panel.
- Drag any Activity into For Each HTML Element Activity to take action on each element it gets, such as: Highlight Element Activity to highlight each HTML element.
- Click Save button from iRobo Studio Menu to save Workflow.
- Click Play button to start the automated process.
Created with the Personal Edition of HelpNDoc: Free Web Help generator