Skip to main content

CaptureNetworkDump

Description

Use this command to start and stop device network traffic capture for a cloud device. The capture starts when startCaptureNetworkDump is executed. The capture stops at end of the test run or when stopCaptureNetworkDump is executed.

Parameters

NameValueDescription
localFilePathStringFull path of the requested file download destination.

Usage

info

Replace <server> with the appropriate URL.

Example

CaptureNetworkDump

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "deviceid");

...
...
seetest.startCaptureNetworkDump("C:\\tmp\\device.pcap");

seetest.stopCaptureNetworkDump();