Help Centre › Building Processes
This article describes the RPA Browser functionality to retrieve captured network requests.
For a full list of available functions, please read BROWSER functions.
Description
The BROWSER Get captured requests function retrieves all network requests that have been captured since the last Capture network requests call. Each captured request includes the URL, HTTP method, status code, response body, and timestamp.
Setting it up
To use the BROWSER Get captured requests function, follow these instructions:
{{popups:rpas/add:action=browser-get-captured-requests}}
Once on a process map:
- Navigate to the process where you would like to add the BROWSER Get captured requests function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the BROWSER Get captured requests option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Variable | No | Text | captured_requests | Variable name to store the retrieved requests. |
Output variables
| Variable | Type | Description |
|---|---|---|
| {captured_requests} | List | List of objects with url, method, status, body, and timestamp fields. |
Errors
| Error | Description |
|---|---|
| Browser not open | No browser session is active. |
| No active capture | No capture session is active. Call Capture network requests first. |
Tips
- Always call Capture network requests before this function to start a capture session.
- Use a loop to process each captured request individually.
- Parse the body field as JSON for API responses.