【Flowchart Mode】How to use the "Branch" component
Abstract：This tutorial introduces the function points and application scenarios of the "Branch" component. No Programming Needed. Visual Operation. ScrapeStormFree Download
In the “What is a Flow component” tutorial, we introduced the functions and usage of various flow components in the ScrapeStorm Flowchart Mode. This article focuses on the “Branch” component in the flow component.
The “Branch” component is used to conditionally perform the behavior of the behavior component and cannot be used alone and needs to be used in conjunction with the action component.
The “Branch” component added by the auxiliary click operation is complete and can be used directly by the user.
The “Branch” component dragged from the component window below is not complete. The dragged component only contains the judgment condition subcomponent. We need to drag in other behavior components to form a complete “Branch” component.
When the “Branch” component is in use, if the judgment condition is satisfied, the above process is judged, and if the judgment condition is not satisfied, the flow below is executed.
The “Branch” component has two application scenarios.
1. Contain text
Run the command above the component when this text appears on the page, otherwise run the command below the component.
2. Contain element
Run the command above the component when this element appears on the page, otherwise run the command below the component.
The XPath of an element can be automatically generated by clicking the button to the right of the settings box, then clicking on the element in the page, or manually editing the XPath.
Click here for more information about xpath.