How can I pass capabilities in Selenium 3 with Pytest?

How can I pass capabilities in Selenium 3 with Pytest?

Hey Alex,

You can pass the capabilities as per the capability generator based on the programming language given below:

capabilities = {
                "build" : "your build name",
                "name" : "your test name",
                "platform" : "Windows 11",
                "browserName" : "Chrome",
                "version" : "103.0",
                "selenium_version" : "3.141.59",
                "driver_version" : "103.0"
        } 

Please refer to the capability generator: Automation Capabilities Generator For Selenium and Appium | LambdaTest