How to add extension for automation test in UnitTest for LambdaTest?

Is it possible to add extension for automation test in UnitTest?

Hi Richard,

If your webapp requires an extension for a UnitTest test automation on Lambdatest, you can use the following steps to upload extension and run your test:

desired_caps = {
            'LT:Options': {
                "build": "Python Demo",  # Change your build name here
                "name": "Python Demo Test",  # Change your test name here
                "platformName": "Windows 11",
                "selenium_version": "4.0.0",
                "lambda:loadExtension": "https://automation-prod-user-files.s3.amazonaws.com/extensions/orgId-XXXX/2.1.0_0.zip"
            },
            "browserName": "Chrome",
            "browserVersion": "98.0",
        }

You can refer to sample test repo here.