An illustrative example of how the " Collect data from a page " action works is the requirement:
- Collect all visible links from the current domain page.
As a result, we will get the data into the project list, which will contain only unique internal links of the current page. And using the Remove duplicates function, we will leave only unique links in the list.
Detailed overview of the "Parse data" action properties window
Double-clicking the left mouse button on the " Parse data " action (in the project workspace) will open the " Action Properties " window, which is logically divided into 2 parts. The basis, in each data collection, is the data source (from which we obtain data for the subsequent collection of information).
Main data sources
Active tab (Current page of ZennoPoster browser)
After selecting the data source "Variable ", the following list of parameters will appear:
Visible items only - those objects that are available within the visible area of the current page.
Search in all frames (from the English frame) - an independent, embedded HTML document, which may contain the necessary data, or vice versa.
Fast way to collect data
An alternative way to quickly configure data collection is located in the context menu of the "Element tree" panel → item " Parse data ". In the window that opens, you can, in a few clicks of the mouse, set the search parameters and start immediately collecting information, and all this in a couple of clicks, and yes, without much knowledge of the XPath query language or CSS Selector .