How do I capture Network logs in HAR format using Geb framework?

How do I capture Network logs in HAR format using Geb framework?

Hi Macy!

To capture the Network logs (HAR format) using Geb framework, you need to use the network capability in your test scripts.

ltOptions.put("network", true);

You can also download the HAR logs from the LambdaTest Automation Dashboard.