Skip to main content

Start recording network requests

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

Start recording network requests on a specified web page. This command begins capturing network traffic that can later be retrieved using the "Get network request results" command. You can filter the requests by URL pattern and request type to focus on specific network activities.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Web page

Select a variable that contains the web page to work with

-

Yes

Must contain a valid browser page object

Request URL

Please enter the request URL to filter web monitor results

-

No

Leave empty to capture all requests

Use RegEx

Filter URLs based on regular expression

-

No

When checked, the Request URL will be interpreted as a regular expression pattern

Filter request types

Select the web request type to retrieve

All, Fetch/XHR, JS, CSS, Image, Media, Font, Document, WebSocket, Other

No

Default is "All"

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

You can use variables in the "Web page" parameter by clicking the {x} icon to insert a previously created variable that contains a browser page object. For the "Request URL" field, you can use variables that contain string values representing the URL pattern you want to filter.


Notes

  • This command only starts the recording process. You must use the "Get network request results" command later in your workflow to retrieve the captured data.

  • Recording network requests may consume significant memory for pages with heavy traffic.

  • Filters are applied during recording, not afterward, so configure them correctly before starting the recording.

  • The "Use RegEx" option provides more flexible URL filtering capabilities but requires knowledge of regular expression syntax.

  • For optimal performance, use specific filters to limit the amount of data being captured.

Did this answer your question?