How can I pass additional capabilities in TestCafe while running it on LambdaTest?

How to pass additional capabilities in TestCafe while running it on LambdaTest ?

Hey Jacqueline!

You can create a config.json file with multiple browser alias and save capabilities within them.

For example:

{
    ""Chrome@99.0:Windows 10"": 
{
        ""build"": ""TestCafe Demo"",
        ""name"":""Chrome"",
        ""network"": true,
        ""visual"": true,
        ""resolution"": ""1024x768""
    },
    ""Firefox@94.0:Windows 10"": {
        ""build"": ""TestCafe Demo"",
        ""name"":""Firefox"",
        ""network"": true,
        ""visual"": true
        
    }
}

The path of this json file has to be saved as an environment variable i.e LT_CAPABILITY_PATH=path/config.json