How can I pass capabilities in Selenium 4 with Ruby Test Unit?

Can I pass capabilities in Selenium 4 with Ruby-Test Unit?

Hi Ana,

In Selenium 4 you need to pass the capabilities as shown below:

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