How do I capture network logs in HAR format with Ruby-Test Unit?

How can I capture network logs in HAR format with Ruby-Test Unit?

Hi Mark,

To capture the network logs, you need to pass the capability as given below:

capability = {
        :browserName => "Chrome",
        :browserVersion => "104.0",
        :LT:Options => {
                "username" => "marinak",
                "accessKey" => "IizNPk5pShy19V5hCwWF0TkzA50LK6B2fy4LAN6P4feaLNC7Rt",
                "platformName" => "Windows 10",
                "project" => "Untitled",
                "w3c" => true,
                "plugin" => "ruby-test::unit"

 "network" => true,
 "network.har" => true,        }
}