Skip to main content

Network

Stop Network Capture​

Restrictions: "none"

Stop Network Capture

Stops the running network capture and uploads it. Waits for the upload to finish.

Inputs​

NameTypeDescriptionRequiredDynamic
timeoutdurationMaximum time to wait for the capture to stop and upload.NoNo

Outputs​

NameTypeDescription
defaultnumberSize of the uploaded capture, in bytes

Network Rate Limit​

Restrictions: "none"

Network Rate Limit

Enable/Disable network rate limit

Inputs​

NameTypeDescriptionRequiredDynamic
enablebooleanCheck to enable network rate limit and uncheck to disable it.YesNo
uploadnumberMaximum upload speed in Mbps. Empty to disable.NoNo
downloadnumberMaximum download speed in Mbps. Empty to disable.NoNo
delaydurationContinue the next step while making the changes effective after the specified delay in background.NoNo

Outputs​

NameTypeDescription
defaultnull

Start Network Capture​

Restrictions: "none"

Start Network Capture

Starts recording the device's network traffic. Stop it with Stop Network Capture to upload the HAR.

Inputs​

NameTypeDescriptionRequiredDynamic
namestringName of the capture. Defaults to capture_ followed by a UTC timestamp.NoNo
modeenumCapture backend. "Default" uses the platform's default, "CDP" captures from the browser, "Proxy" captures through a proxy.YesNo
reloadbooleanReload the page when the capture starts. CDP mode only.YesNo
cachebooleanUse the browser cache while capturing. CDP mode only.YesNo
direct_proxybooleanUse a regular proxy instead of a transparent one. Proxy mode only.YesNo
timeoutdurationMaximum time to wait for the capture to begin.NoNo

Outputs​

NameTypeDescription
defaultbooleanWhether the capture started