How to run tunnel while using Pytest?

Can I run the tunnel using Pytest?

Hi Helen,

You need to configure tunnel first either by Command line or by underpass and use the below capability:

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