Skip to content

Get Data

rpa-get-data

Get Url Data

Usage scenario: Obtain information related to webpage URLs and save the obtained information to variables or tables. Assuming the opened website is: https://www.amazon.com/s?k=nike&ref=nb_sb_noss_2Get Url Data

Parameter
Explanation
Type - Full UrlExtraction results: https://www.amazon.com/s?k=nike&ref=nb_sb_noss_2
Type - DomainExtraction results: https://www.amazon.com
Type - ParameterIf the input parameters are: k
Extraction result: nike
Save toSave the read value to a variable or table

Get Element Data

Obtaining element data is one of the most frequently used operation options, often used to obtain web page elements and then save them as variables. The saved variables can be used in the operation options that support 'variables'. Get Element Data

Parameter
Explanation
SelectorInput element selectors, such as #email, input [type = "password"], .button_search, etc. Selector usage can refer to: https://developer.mozilla.org/docs/Learn/CSS/Building_blocks/Selectors
VariableSelect a variable to save as an object
Element OrderFixed: select elements in a fixed order
Random: Randomly select an element within the set interval
Data TypeSee table below
Save ToSave the read value to a variable or table.
Data values of element type can only be saved to variables.

Data Type

Data Type

Parameter
Explanation
TextGet the innerText of the target element
Element ObjectGet the target element and save it as an element object in a variable
IframeSimilar to obtaining an element object, obtain the target element and save it as an iframe element object in a variable
Source codeGet the source code of the target object, here referring to the HTML structure of the element
AttributeTo obtain the property value of the target object, you need to fill in the property name.
ChildrenGet the child elements of the target element and save it as an element object in a variable, and fill in the element selector of the child element

Save To File

Usage scenario: Save the obtained variable or table data to a file. Save To File

Parameter
Explanation
File NameThe name of the file to be saved, required
File PathThe path of the file to be saved is required. You can click the quick selection path on the right side in the Client.
File TypeOptional: txt, csv, json
Data SourceTo save the data source of the content, you can choose: variable, table. If the file type is csv, only table can be selected.
VariableSelect the variable to save to the file, multiple options are available
TableSelect the table contents to save to the file, multiple options are available
File Type -txt-contentThe content to be saved to txt can be freely written or used with variables
File Type-CSV-separatorDelimiter of csv file, default ','

Save To Excel

Usage scenario: Save the obtained variable or table data to an excel file. Save To Excel

Parameter
Explanation
File NameFile name to save
File PathTo save the file path, you can click Quick Path on the right side in the Client.
Select ColumnsSelect the columns to save to Excel.
If selecting a variable, use the variable name as the header of this column.
If selecting a table, use the table column name as the header of this column.

Get Focus Element

Usage scenario: Get the focused element in the current page and save it to a variable Get Focus Element

Listen Request

Usage scenario: Listen to the sending of a network request and obtain specified data, such as the complete Url, Params, Body. Listen Request

Parameter
Explanation
UrlRequest Url to listen
Extraction TypeOptional: Full Url, Params, Body
Params and Body need to fill in the specific field names that need to be extracted. If not filled in, all data will be extracted by default.
Save ToSave the read value to a variable or table.

Listen Response

Usage scenario: Listen to the return of a network request and get the specified data. Listen Response

Parameter
Explanation
UrlUrl to listen
Param KeyThe field name to be extracted. If not filled in, all return values will be extracted by default.
Save ToSave the read value to a variable or table.

Stop Listener

Usage scenario: Stop the currently enabled listening Stop Listener